On 21/07/2005, at 12:27 AM, Alexander K. Hansen wrote:
On Jul 19, 2005, at 11:46 PM, Roger Butland wrote:
Hi,
System: PowerMac G5, OS X 10.3.9, Xcode 1.5, Apple's X11, CVS update
With your help, I have now been able to compile all the dependences of OpenOffice.org.
Unfortunately I still get an error when building OOo itself:
checking for trouble comparing to zero near std::operator!=()... no
checking for LC_MESSAGES... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for gtk+-2.0 >= 1.3.7... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 1.3.7) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
<snip>
My suspicion here is that you've committed the cardinal sin of having libraries and headers under /usr/local, and those are being found rather than your fink-installed ones.
--
Alexander Hansen
Fink Documentarian
[Day Job] Levitated Dipole Experiment
Hi,
Yes I have some libraries in /usr/local which some applications must have installed there by default. I wish some software developers would not do that.
I moved /usr/local to /usr/local.moved as suggested and tried to build OpenOffice.org again:
checking for LC_MESSAGES... yes
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
configure: error: Library requirements (gtk+-2.0 >= 1.3.7) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
dmake: Error code 1, while making './unxmacxp.pro/misc/build/so_configured_ooo_mozab'
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making /sw/src/fink.build/openoffice.org-1.9m113-2/moz
dmake: Error code 1, while making 'build_all'
'---* tg_merge.mk *---'
### execution of /var/tmp/tmp.1.1qG8xQ failed, exit code 255
Removing build lock...
dpkg -r fink-buildlock-openoffice.org-1.9m113-2
(Reading database ... 80713 files and directories currently installed.)
Removing fink-buildlock-openoffice.org-1.9m113-2 ...
Failed: phase compiling: openoffice.org-1.9m113-2 failed
pkg-config is in /sw/bin and it is also in /usr/local.moved/bin . I wonder what is still wrong ?
Cheers,
Roger