Compiling Twin 3.1.0 on Debian 2.0
Hallo, I have compiled and used twin successfully on my older system (Debian 1.3.1) by just following the instructions coming with twin-src.tar.gz. Now I have upgraded my system and the compilation failed. configure; make depends; make results in (the last part of the output): -- gcc -Wall -fwritable-strings -fPIC -I/home/jhspies/twin/3.1.0/include -I/home/jhspies/twin/3.1.0/win -I. -I/usr/X11R6/include -DDEBUG -DTRACE -shared -Wl,-Bsymbolic -L/home/jhspies/twin/3.1.0/win \ -L/home/jhspies/twin/3.1.0/win -o libmmsystem.so MultiMedia.o MMBin.o MCI.o MMIF.o MultiMedia.res.o -ltwin -ldll -lc ld: cannot open -ltwin: No such file or directory make[1]: *** [libmmsystem.so] Error 1 make[1]: Leaving directory `/home/jhspies/twin/3.1.0/mmsystem' make: *** [all] Error 2 -- Checking at that stages revealed that there are no *.so files in the ~/twin/3.1.0 tree. Isn't the compilation process supposed to provide libtwin.so? I would appreciate some help. Johann Spies. -- | Johann Spies Windsorlaan 19 | | [EMAIL PROTECTED]3201 Pietermaritzburg | | Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa) | -- He hath not dealt with us after our sins; nor rewarded us according to our iniquities. For as the heaven is high above the earth, so great is his mercy toward them that fear him. As far as the east is from the west, so far hath he removed our transgressions from us. Psalms 103:10-12
Re: Compiling TWIN
On Sun, 21 Sep 1997, Paul Serice wrote: Has anyone compiled TWIN successfully on a Debian system? I've followed the instructions (I'm pretty sure), but I keep getting errors that ldconfig couldn't find libtwin during the make process because it is trying to link with the library. However, I can't link with the library until I create it, and I can't create the library, according to the make file, until I link it. So it appears to me to be a catch-22. I compiled it successfully on a 1.3.1 system. I downloaded the latest sources and did a ./configure and a make depend; make. Everything worked. Syrus. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Syrus Nemat-Nasser [EMAIL PROTECTED]UCSD Physics Dept. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Compiling TWIN
Martin Str|mberg wrote: In article [EMAIL PROTECTED] Paul Serice wrote: : Has anyone compiled TWIN successfully on a Debian system? : : I've followed the instructions (I'm pretty sure), but I : keep getting errors that ldconfig couldn't find libtwin : during the make process because it is trying to link with : the library. However, I can't link with the library : until I create it, and I can't create the library, according : to the make file, until I link it. So it appears to me : to be a catch-22. Well, I don't know anything about twin, but usually you do an ar and ranlib as the last step of creating a library. You don't need the library to create the library - thus no catch-22. You're right. I took a closer look at the output. It is trying to create the libtwin.so file and fails. Then it tries to use this file to create some other shared libraries, and these are the errors I had been seeing. Unfortunately, I know nothing about creating shared libraries, and I'm having a hard time finding the problem. Thanks Paul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Compiling TWIN
Syrus Nemat-Nasser wrote: On Sun, 21 Sep 1997, Paul Serice wrote: Has anyone compiled TWIN successfully on a Debian system? I've followed the instructions (I'm pretty sure), but I keep getting errors that ldconfig couldn't find libtwin during the make process because it is trying to link with the library. However, I can't link with the library until I create it, and I can't create the library, according to the make file, until I link it. So it appears to me to be a catch-22. I compiled it successfully on a 1.3.1 system. I downloaded the latest sources and did a ./configure and a make depend; make. Everything worked. Thanks for the information. I don't know what's wrong, but you've given me hope. Paul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Compiling TWIN
In message [EMAIL PROTECTED], writes: Martin Str|mberg wrote: In article [EMAIL PROTECTED] Paul Serice wrote: : Has anyone compiled TWIN successfully on a Debian system? Well, I don't know anything about twin, but usually you do an ar and ranlib as the last step of creating a library. You don't need the library to create the library - thus no catch-22. You're right. I took a closer look at the output. It is trying to create the libtwin.so file and fails. Please post the relevant section of error output so that we can help further. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 Make it idiot-proof, and someone will breed a better idiot. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Compiling TWIN
On Sun, 21 Sep 1997, Paul Serice wrote: Has anyone compiled TWIN successfully on a Debian system? I've followed the instructions (I'm pretty sure), but I keep getting errors that ldconfig couldn't find libtwin during the make process because it is trying to link with the library. However, I can't link with the library until I create it, and I can't create the library, according to the make file, until I link it. So it appears to me to be a catch-22. Any help would be appreciated. I built twin a couple of weeks ago and had the same problem you did. I quickly discovered that the library was failing to be built in earlier portions of the make. If memory serves, it was failing to find a necessary library, once I installed that, everything built fine. I might suggest adding something like '21 |tee ../build.log' to the end of the make command. This will log all of the output of the make to build.log one directory higher than the source. (keeps the source from getting cluttered with log files) If the errors don't make sense, I'm sure you can find an interpreter here on the lists. Luck, Dwarf -- _-_-_-_-_-_- _-_-_-_-_-_-_- aka Dale Scheetz Phone: 1 (904) 656-9769 Flexible Software 11000 McCrackin Road e-mail: [EMAIL PROTECTED] Tallahassee, FL 32308 _-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Compiling TWIN
Dale Scheetz wrote: I built twin a couple of weeks ago and had the same problem you did. I quickly discovered that the library was failing to be built in earlier portions of the make. If memory serves, it was failing to find a necessary library, once I installed that, everything built fine. I might suggest adding something like '21 |tee ../build.log' to the end of the make command. This will log all of the output of the make to build.log one directory higher than the source. (keeps the source from getting cluttered with log files) That's it exactly. I've gotten it to run using their precompiled binaries. You can tell they've done lots of work, but it still has some distance to travel. Paul -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Compiling TWIN
Has anyone compiled TWIN successfully on a Debian system? I've followed the instructions (I'm pretty sure), but I keep getting errors that ldconfig couldn't find libtwin during the make process because it is trying to link with the library. However, I can't link with the library until I create it, and I can't create the library, according to the make file, until I link it. So it appears to me to be a catch-22. Any help would be appreciated. Paul Serice -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Compiling TWIN
In article [EMAIL PROTECTED] Paul Serice wrote: : Has anyone compiled TWIN successfully on a Debian system? : : I've followed the instructions (I'm pretty sure), but I : keep getting errors that ldconfig couldn't find libtwin : during the make process because it is trying to link with : the library. However, I can't link with the library : until I create it, and I can't create the library, according : to the make file, until I link it. So it appears to me : to be a catch-22. Well, I don't know anything about twin, but usually you do an ar and ranlib as the last step of creating a library. You don't need the library to create the library - thus no catch-22. Perhaps it's a Windoze term that you link the library, which might be equvivalent to running ar and ranlib in Unix? Does anybody else have any enlightingly comments? Right, MartinS -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .