Hi /Klaus,
You asked a question,
Question: how can vm-display-X11.so be made, what's the trick?
And here is an answer: Make sure, your gcc knows about the X11 includes and your library path includes the X11 shared libs before you run configure.
Check the makefile generated by config (in directory bld) for the target:
vm-display-X11${la} : @$(SHELL) -ec 'cd vm-display-X11; $(MAKE) vm-display-X11${la}'
And then check the file bld/libtool which is a shell script generated by config which is supposed to generate the shared objects.
Hope, that helps.
Wolfgang -- Weniger, aber besser.
Hi Wolfgang,
on Mon, 15 May 2006 15:06:00 +0200, you helbig@Lehre.BA-Stuttgart.DE wrote:
Hi /Klaus,
:)
You asked a question,
Question: how can vm-display-X11.so be made, what's the trick?
And here is an answer: Make sure, your gcc knows about the X11 includes and your library path includes the X11 shared libs before you run configure.
Configure reported: configure:24669: checking for X configure:24899: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include configure:25071: gcc -o conftest.exe -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 conftest.c -lm -L/usr/X11R6/lib -lX11 >&5 configure:25077: $? = 0 configure:25081: test -z || test ! -s conftest.err configure:25084: $? = 0 configure:25087: test -s conftest.exe configure:25090: $? = 0
Check the makefile generated by config (in directory bld) for the target:
vm-display-X11${la} : @$(SHELL) -ec 'cd vm-display-X11; $(MAKE) vm-display-X11${la}'
Looks like as if you had copied and pasted our makefile here.
And then check the file bld/libtool which is a shell script generated by config which is supposed to generate the shared objects.
Runs nicely, results are (also for vm-display-null): /bin/sh /home/kWitzel/platforms/unix/config/mkinstalldirs /usr/local/lib/squeak/3.9-4 /bin/sh /home/kWitzel/platforms/libtool --mode=install /usr/bin/install -c vm-display-X11.la /usr/local/lib/squeak/3.9-4/vm-display-X11.la /usr/bin/install -c vm-display-X11/.libs/vm-display-X11.lai /usr/local/lib/squeak/3.9-4/vm-display-X11.la /usr/bin/install -c vm-display-X11/.libs/vm-display-X11.a /usr/local/lib/squeak/3.9-4/vm-display-X11.a ranlib /usr/local/lib/squeak/3.9-4/vm-display-X11.a chmod 644 /usr/local/lib/squeak/3.9-4/vm-display-X11.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/squeak/3.9-4
Hope, that helps.
:-(
Hah! You made me look after filio.h, I forgot last night:
configure:20825: checking sys/filio.h usability configure:20837: gcc -c -g -O2 conftest.c >&5 conftest.c:72:23: sys/filio.h: No such file or directory configure:20843: $? = 1
Thank your for your time.
/Klaus
Wolfgang
Weniger, aber besser.
vm-dev@lists.squeakfoundation.org