From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Thu, 6 Nov 2003 14:15:23 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 233 ************************************************** Wednesday 05 November 2003 Number 233 ************************************************** Subjects for today 1 Re: libtool : Franz Bakan" 2 Re: Syslog : John Poltorak 3 libtool : John Poltorak 4 Re: libtool : Yuri Dario" **= Email 1 ==========================** Date: Thu, 06 Nov 2003 00:52:34 +0100 (CET) From: "Franz Bakan" Subject: Re: libtool On Wed, 5 Nov 2003 17:19:50 +0000, John Poltorak wrote: ... >> sh configure > >Is the supplied configure script OK or would it be better to run autoconf >first? the script is OK >Changing config.site could cause all sorts of unforeseen problems for >other programs so I suggest creating \unixos2\scripts\pre-process\sane >containing:- > >export CPPFLAGS=-D__ST_MT_ERRNO__ ok you are right. >> 7. get >> >> http://unix.os2site.com/sw/pub/binary/libunixos2/libunixos2-0_1_1-bin.zip >> >> and copy the included unixos2.dll to /lib > >I'm not really sure why this is required. because at the time I installed ux2bs this dll was not included. Perhaps things may have changed in the meantime. I've opened a bug in the buglist for this. >> 8. In sane-backends/ directory run >> >> make >> >> 9. If this all works as expected, you will have libsane.dll in >> sane-backends/backend/libs >> and scanimage.exe in >> sane-backends/frontend > >Not yet... > >I see a liblib.a but get this error:- > > >mkdir /usr/local/etc/sane.d >installing libsane-abaton.la in /usr/local/lib/sane/libsane-abaton.la... >libtool: install: `libsane-abaton.la' is not a valid libtool archive >Try `libtool --help --mode=install' for more information. >make[1]: *** [install] Error 1 I don't know why. I thought /usr/local/etc/sane.d would be created by 'make install' and not by 'make' Franz **= Email 2 ==========================** Date: Thu, 6 Nov 2003 11:04:19 +0000 From: John Poltorak Subject: Re: Syslog On Mon, Nov 03, 2003 at 11:27:17PM +0100, Adrian Gschwend wrote: > On Mon, 3 Nov 2003 14:29:10 +0000, John Poltorak wrote: > > >Yes, this seems to contain some of the files used in SYSLOG, but there is > >no syslog.c which is required to make syslog.a and syslog.lib. > > uhm I don't really get the point, syslogd is the deamon, syslog itself > is for example a systemcall. Are you talking about the dll for the > library file? No, I'm talking about the library syslog.lib or syslog.a. > cu > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org > -- John **= Email 3 ==========================** Date: Thu, 6 Nov 2003 11:43:35 +0000 From: John Poltorak Subject: libtool Can someone suggest where I can find out how libtool works and what it provides? It confuses me no end since it is available as a seperate package and yet I see libtool scripts created by configure, so I don't see when a seperate package would be used in any case. It also seems like I need specific libtools when building particular programs, which suggests that something is broken within the build process. -- John **= Email 4 ==========================** Date: Thu, 06 Nov 2003 16:32:57 +0100 (CET) From: "Yuri Dario" Subject: Re: libtool Hi, >> Yes but you need the old libtool from the 1.0.1 'Yuri-build'. >Any idea why the self generated libtool doesn't work properly? probably because nobody submitted the patches to libtool mantainer ;-) BTW current libtool can generate static (.a) libraries instead of dll. Personally I don't like libtool: maybe it is an useful tool (for *nix people), but under OS/2 it is really slow, and makes really hard to use a self-built .def file for linking. It is not generated by configure; libtool is written by ltmain.sh, which is called by configure with proper parameters. Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.os2power.com/yuri * http://www.teamos2.it */