Santhu / mozc

Automatically exported from code.google.com/p/mozc
0 stars 0 forks source link

[Documentation] Linux build seems to require "google-mock" but it's not documented #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow the instructions under "Build and install debian package" on this 
page: http://code.google.com/p/mozc/wiki/LinuxBuildInstructions
2. When entering "debuild -b -uc -us", it will complain that google-mock is not 
available in the system

What is the expected output?
The deb packages should be successfuly built.

What do you see instead?
dpkg-checkbuilddeps: Unmet build dependencies: google-mock
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1348:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed

What version of the product are you using? On what operating system?
Mozc - svn rivision 103
Ubuntu 11.10 (armv7l) - TI OMAP 4460 (ARM Cortex-A9) PandaBoard ES 

$ uname -a
Linux omap 3.2.7-x5 #1 SMP Sun Feb 26 16:48:22 UTC 2012 armv7l armv7l armv7l 
GNU/Linux

Please provide any additional information below.
I'm able to workaround this issue by running the following command:
$ sudo apt-get install google-mock

Original issue reported on code.google.com by tatsuya6...@gmail.com on 15 Mar 2012 at 8:07

GoogleCodeExporter commented 9 years ago
Thank you for the report.
Added 'google-mock' into the document as a quick workaround.
http://code.google.com/p/mozc/source/detail?r=104

In fact, 'google-mock' in debian/control r96 should be have been replaced with 
'libgtest-dev'. Actually you can also work around by simply ignoring the 
dependency check by "debuild -b -uc -us -d".

BTW, we are planning to stop supporting 'debuild' (Issue 132) because:
- Files under debian/* are developed mainly for our internal testing purpose. 
These files have not been developed nor maintained for production.
- Nowadays you can obtain well-maintained Mozc source packages on many 
distributions. 
So filed under debian/* will be removed anyway in few months.

Original comment by yukawa@google.com on 15 Mar 2012 at 8:47