Begin forwarded message:
From: Roger Butland <[EMAIL PROTECTED]>
Date: 22 July 2005 12:41:51 PM
To: Fink Beginners <[email protected]>
Subject: Re: [Fink-beginners] OpenOffice.org: gtk+-2.0 not found
On 22/07/2005, at 2:51 AM, Alexander K. Hansen wrote:
On Jul 20, 2005, at 11:23 PM, Roger Butland wrote:
\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
Check the config.log file in the openoffice.org build directory to see what it tried to do to find pkg-config--you also try reinstalling pkgconfig in case something got goofed up with it.
--
Alexander Hansen
Fink Documentarian
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/
Hi Alexander & others,
Sorry you did not get my original reply; it was rejected because it was longer than 35 kB.
Here is the message heavily edited:
Hi,
I rebuilt pkgconfig 0.17.2-2, autoconf2.5 2.59-6 and then tried openoffice.org 1.9m113-2 again. Still no good .
There are config.logs , dated today in directories: mozilla, source, epm-3.7, dmake and config_office. These directories all have openoffice.org-1.9m113-2 in their path somewhere.
I am not sure, but I think that most (if not all) of the errors relate to confdefs.h .
Here is the data from the config.log in config_office as an example (sorry it's so long - edit if you wish) :
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --prefix=/sw --with-lang=ALL --with-gnu-cp=/sw/bin/cp --enable-mozilla --with-mozilla-version=1.7.5 --enable-build-mozilla --with-package-format=portable --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --with-jdk-home=/Library/Java/Home --with-ant-home=/sw/lib/ant --enable-gtk --disable-crashdump --with-build-version=1.9m113-2; Built with Fink <http://fink.sourceforge.net>
## --------- ##
## Platform. ##
## --------- ##
hostname = Roger-Butlands-Computer.local
uname -m = Power Macintosh
uname -r = 7.9.0
uname -s = Darwin
uname -v = Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC
/usr/bin/uname -p = powerpc
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = Mach kernel version:
Darwin Kernel Version 7.9.0:
Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC
Kernel configured for up to 2 processors.
2 processors are physically available.
Processor type: ppc970 (PowerPC 970)
Processors active: 0 1
Primary memory available: 1536.00 megabytes.
Default processor set: 50 tasks, 131 threads, 2 processors
Load average: 1.28, Mach factor: 1.00
unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: .
PATH: /Users/roger/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/X11R6/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2273: checking for gawk
configure:2302: result: no
configure:2273: checking for mawk
configure:2302: result: no
configure:2273: checking for nawk
configure:2302: result: no
configure:2273: checking for awk
configure:2289: found /usr/bin/awk
configure:2299: result: awk
configure:2311: checking for awk
configure:2329: found /usr/bin/awk
configure:2341: result: /usr/bin/awk
OK, but I do have gawk installed in /sw/bin. There may be other examples.
[snip]
It does find quit a few things installed in sw though:
configure:3610: checking whether gcc accepts -g
configure:3631: gcc -c -g -I/sw/include conftest.c >&5
configure:3637: $? = 0
configure:3641: test -z
|| test ! -s conftest.err
configure:3644: $? = 0
configure:3647: test -s conftest.o
configure:3650: $? = 0
configure:3661: result: yes
[snip]
The first confdefs error:
configure:4053: gcc -o conftest -g -O2 -fvisibility=hidden -I/sw/include -L/sw/lib conftest.c >&5
cc1: error: unrecognized option `-fvisibility=hidden'
configure:4059: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:4087: result: no
configure:4093: checking for GNU make
configure:4102: result: make
configure:4105: checking the GNU make version
configure:4120: result: make 3.79
configure:4707: checking how to run the C preprocessor
configure:4742: gcc -E -I/sw/include conftest.c
configure:4748: $? = 0
configure:4780: gcc -E -I/sw/include conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:4786: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4825: result: gcc -E
configure:4849: gcc -E -I/sw/include conftest.c
configure:4855: $? = 0
configure:4887: gcc -E -I/sw/include conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:4893: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
[snip]
another confdefs.h error:
configure:5996: g++-3.3 -c -g -O2 -I/sw/include conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:14: error: `exit' undeclared (first use this function)
conftest.cc:14: error: (Each undeclared identifier is reported only once for
each function it appears in.)
configure:6002: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
There is at least one more error relating to confdefs.h but I will snip down to just before the end of this config.log file.
[large snip]
I do not know what this means but confdefs.h is again mentioned.
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define HAVE_X11_XAW_LABEL_H 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 0
Using the Finder I have confdefs.h but not conftest.*; I do have an earlier conftest.crash.log in /Library/Logs.CrashReporter dated 2005-04-10 though !
I hope this enables you to trace the error(s) ?
Cheers,
Roger
