Date: Thu, 8 Jan 2004 00:04:04 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 286 ************************************************** Wednesday 07 January 2004 Number 286 ************************************************** Subjects for today 1 Re: NetPBM : John Poltorak 2 gocr : John Poltorak 3 Re: NetPBM : Franz Bakan" 4 OpenLDAP : Bart van Leeuwen" 5 Re: OpenLDAP : John Poltorak 6 Re: OpenLDAP : Dave and Natalie" 7 Re: OpenLDAP : Bart van Leeuwen" 8 Re: OpenLDAP : John Poltorak 9 Re: OpenLDAP : Henry Sobotka **= Email 1 ==========================** Date: Tue, 6 Jan 2004 15:12:46 +0000 From: John Poltorak Subject: Re: NetPBM On Mon, Jan 05, 2004 at 05:51:24PM +0100, Stefan Neis wrote: > On Mon, 5 Jan 2004, John Poltorak wrote: > > > Are you referring to GOCR or NetPBM? > > I don't really no which configure script generated said error ... > I suppose it's probably GOCR (since NetPBM uses some perl script that's > apparently not related to autoconf), but I'm just guessing... If you've tried building GOCR, don't you get a problem when running Make because of the included make.bat ? > Regards, > Stefan > -- John **= Email 2 ==========================** Date: Tue, 6 Jan 2004 15:55:23 +0000 From: John Poltorak Subject: gocr I've managed to build GOCR fairly easily from the distributed source with a couple of very minor changes, but I need to run EMXBIND to create an OS/2 .exe. I'd like to have it built automatically and I think I should be able to achieve this by the use of EXEEXT. I'm never clear about whether I need to change configure.in or Makefile.in or both. Can someone remind me? -- John **= Email 3 ==========================** Date: Tue, 06 Jan 2004 18:13:28 +0100 (CET) From: "Franz Bakan" Subject: Re: NetPBM On Tue, 6 Jan 2004 15:12:46 +0000, John Poltorak wrote: >If you've tried building GOCR, don't you get a problem when running Make >because of the included make.bat ? You have to delete make.bat Franz **= Email 4 ==========================** Date: Tue, 6 Jan 2004 21:05:51 +0100 From: "Bart van Leeuwen" Subject: OpenLDAP Hi all, first best wishes for 2004 ! I started to port openldap, but I ran very soon into the following problem: while running configure checking for a BSD compatible install... c:/unixos2/bin/install.exe checking for ar... no checking for gar... no configure: error: Unable to locate ar(1) or suitable replacement. Check PATH or set AR. I think I mis configured something ar is executable on the command line.. With Regards Bart van Leeuwen **= Email 5 ==========================** Date: Tue, 6 Jan 2004 20:50:11 +0000 From: John Poltorak Subject: Re: OpenLDAP On Tue, Jan 06, 2004 at 09:05:51PM +0100, Bart van Leeuwen wrote: > > Hi all, > > first best wishes for 2004 ! > > I started to port openldap, but I ran very soon into the following problem: > > while running configure > > checking for a BSD compatible install... c:/unixos2/bin/install.exe > checking for ar... no ar.exe is part of EMX > checking for gar... no > configure: error: Unable to locate ar(1) or suitable replacement. Check > PATH or > set AR. > > I think I mis configured something ar is executable on the command line.. How are running this? If under UX2BS it would be 'build openldap' BTW do you have a URL for LDAP? I'll give this a try and see what happens. > With Regards > Bart van Leeuwen > -- John **= Email 6 ==========================** Date: Tue, 06 Jan 2004 13:30:08 -0800 From: "Dave and Natalie" Subject: Re: OpenLDAP On Tue, 6 Jan 2004 21:05:51 +0100, Bart van Leeuwen wrote: >I started to port openldap, but I ran very soon into the following problem: > >while running configure > >checking for a BSD compatible install... c:/unixos2/bin/install.exe >checking for ar... no >checking for gar... no >configure: error: Unable to locate ar(1) or suitable replacement. Check >PATH or > set AR. > >I think I mis configured something ar is executable on the command line.. Try doing a SET AR=ar.exe before running configure Dave New Email Address - please update your Address book dave_yeo at paralynx.com **= Email 7 ==========================** Date: Tue, 6 Jan 2004 22:41:18 +0100 From: "Bart van Leeuwen" Subject: Re: OpenLDAP http://www.openldap.org With Regards Bart van Leeuwen **= Email 8 ==========================** Date: Tue, 6 Jan 2004 22:06:11 +0000 From: John Poltorak Subject: Re: OpenLDAP On Tue, Jan 06, 2004 at 09:05:51PM +0100, Bart van Leeuwen wrote: > > Hi all, > > first best wishes for 2004 ! > > I started to port openldap, but I ran very soon into the following problem: > > while running configure > > checking for a BSD compatible install... c:/unixos2/bin/install.exe > checking for ar... no > checking for gar... no > configure: error: Unable to locate ar(1) or suitable replacement. Check > PATH or > set AR. > > I think I mis configured something ar is executable on the command line.. If you add AR=ar to config.site this error disappears. I don't know why. You then get a similar error with ld, which you can get round in the same way. I'd like to know why so many other apps get by without these variables needing to be set. Configure does not manage to build a Makefile. Not exactly sure why. Maybe it thinks it should be cross-compiling... Here is the last bit of the log - which doesn't mean anything to me:- checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... OS/2 ld.exe checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... cross creating libtool checking whether ln works... yes checking whether ln -s works... (cached) no checking how to run the C preprocessor... gcc -E configure: warning: programs compiled here do not run here... configure: error: if cross compiling, add --enable-x-compile. > With Regards > Bart van Leeuwen -- John **= Email 9 ==========================** Date: Tue, 06 Jan 2004 17:36:13 -0500 From: Henry Sobotka Subject: Re: OpenLDAP John Poltorak wrote: > > configure: warning: programs compiled here do not run here... config.log is your friend. h~