Problem with GTK port
- From: Dave Hayes <dave jetcafe org>
- To: freebsd-ports freebsd org
- Cc: freebsd-questions freebsd org, gtk-list gnome org
- Subject: Problem with GTK port
- Date: Mon, 04 Dec 2000 09:45:28 -0800
I am on a fresh 4.2-RELEASE machine with the current ports sup'd down.
The GLIB port installed with no problems. However when I got into the
GTK port, the following happens:
checking for GLIB - version >= 1.2.8... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
So, being the inquisitive type, I investigate. I create a "conftest.c"
file like the one in configure, called "conft.c". I then proceed to
compile this with the following line:
cc -o conftest -g -O2 -Wall -I/usr/local/include/glib12 -D_THREAD_SAFE
-DLINUXTHREADS conft.c -L/usr/local/lib -Wl,-E -lgmodule12 -lgthread12
Already, I see no "-pthread" switch so I know this may be kinda bogus.
The interesting thing comes when I see this:
Bus error (core dumped)
$ gdb ./conftest
GNU gdb 4.18
This GDB was configured as "i386-unknown-freebsd"...
Starting program: /usr/ports/x11-toolkits/gtk12/work/gtk+-1.2.8/./conftest
Program received signal SIGBUS, Bus error.
0x28112d67 in isatty () from /usr/lib/libc.so.4
#0 0x28112d67 in isatty () from /usr/lib/libc.so.4
#1 0x28113bd6 in malloc () from /usr/lib/libc.so.4
#2 0x2807ae1d in g_malloc () from /usr/local/lib/libglib12.so.3
#3 0x28082e65 in g_strdup () from /usr/local/lib/libglib12.so.3
#4 0x80486a5 in main () at conft.c:16
#5 0x80485f5 in _start ()
Quite odd. Anyone have a clue as to what is going on here?
Dave Hayes - Consultant - Altadena CA, USA - dave jetcafe org
>>> The opinions expressed above are entirely my own <<<
There is no distinctly native American criminal class except Congress.
-- Mark Twain
] [Thread Prev