Date: Tue, 11 Mar 2003 02:38:23 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 102 ************************************************** Monday 10 March 2003 Number 102 ************************************************** Subjects for today 1 Re: Apache : Ted Sikora 2 Re: rsync : John Poltorak 3 Re: rsync : Stefan.Neis at t-online.de 4 Re: Apache : Hannes Hromadka 5 Re: rsync : Stefan.Neis at t-online.de 6 Re: rsync : John Poltorak 7 Re: Apache : John Poltorak 8 Re: rsync : John Poltorak 9 Re: rsync : Stefan.Neis at t-online.de 10 Re: Problems building GREP : John Poltorak **= Email 1 ==========================** Date: Tue, 11 Mar 2003 08:09:13 +0000 From: Ted Sikora Subject: Re: Apache Hannes Hromadka wrote: > On Mon, Mar 10, 2003 at 09:55:30PM +0000, John Poltorak wrote: > >>Where is Apache usually installed on a Unix system? >> > > Depends 8-( > > Here are the names of the apache binary on 3 systems I have here. > > Debian Woody: /usr/sbin/apache > Solaris 8 Intel: /usr/lib/ab2/dweb/sunos5/bin/dwhttpd > Solaris 8 Sparc: /usr/local/apache/bin/httpd > > I prefere to have it installed with prefix /usr Slack uses /usr and /var/www for user files. FreeBSD uses /usr/local and /usr/local/www for user files. -- Ted Sikora tsikora at ntplx.net _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Tue, 11 Mar 2003 11:36:39 +0000 From: John Poltorak Subject: Re: rsync On Tue, Mar 11, 2003 at 11:48:06AM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > > I'm assuming you have made some changes to Posix/2 for this to work... > > Just removed the duplicate definitions from compat.h as already > discussed here, Do you have a diff just so that there is no confusion over exactly what changes are required? > the remaining problems reported here apparently > were due to the OS/2-patches and go away if you don't apply them... I can't get it to compile at all... I get a lot of warnings, and then this error:- popt/popthelp.c:282: warning: unused parameter `flags' gcc -I. -I. -DHAVE_CONFIG_H -Wall -W -I./popt -c popt/poptparse.c -o popt/poptparse.o Please ignore warnings below about mktemp -- it is used in a safe way gcc -DHAVE_CONFIG_H -Wall -W -I./popt -o rsync rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o batch.o clientname.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/permstring.o lib/inet_ntop.o lib/inet_pton.o lib/getaddrinfo.o lib/getnameinfo.o zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/zutil.o zlib/adler32.o popt/findme.o popt/popt.o popt/poptconfig.o popt/popthelp.o popt/poptparse.o clientserver.o: Undefined symbol _chroot referenced from text segment make: *** [rsync] Error 1 Please ignore warnings below about mktemp -- it is used in a safe way gcc -DHAVE_CONFIG_H -Wall -W -I./popt -o rsync rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o batch.o clientname.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/permstring.o lib/inet_ntop.o lib/inet_pton.o lib/getaddrinfo.o lib/getnameinfo.o zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/zutil.o zlib/adler32.o popt/findme.o popt/popt.o popt/poptconfig.o popt/popthelp.o popt/poptparse.o clientserver.o: Undefined symbol _chroot referenced from text segment make: *** [rsync] Error 1 > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Tue, 11 Mar 2003 11:48:06 +0100 From: Stefan.Neis at t-online.de Subject: Re: rsync Hi, > I'm assuming you have made some changes to Posix/2 for this to work... Just removed the duplicate definitions from compat.h as already discussed here, the remaining problems reported here apparently were due to the OS/2-patches and go away if you don't apply them... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Tue, 11 Mar 2003 13:22:55 +0100 From: Hannes Hromadka Subject: Re: Apache On Mon, Mar 10, 2003 at 09:55:30PM +0000, John Poltorak wrote: > > Where is Apache usually installed on a Unix system? > Depends 8-( Here are the names of the apache binary on 3 systems I have here. Debian Woody: /usr/sbin/apache Solaris 8 Intel: /usr/lib/ab2/dweb/sunos5/bin/dwhttpd Solaris 8 Sparc: /usr/local/apache/bin/httpd I prefere to have it installed with prefix /usr Ciao, Hannes -- Johannes Hromadka | Email Office: HromadkaJ at gmx.at | Home : Johannes.Hromadka at gmx.net Vienna/Austria/Europe | OECC: http://www.oecc.org/ >>> Rust never sleeps (borrowed from Neil YOUNG) <<< _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Tue, 11 Mar 2003 14:13:41 +0100 From: Stefan.Neis at t-online.de Subject: Re: rsync Hi, > Do you have a diff just so that there is no confusion over exactly what > changes are required? Try this one: Index: compat.h =================================================================== RCS file: /cvsroot/posix2/posix2/libext/include/compat.h,v retrieving revision 1.3 retrieving revision 1.5 diff -u -r1.3 -r1.5 --- compat.h 31 May 2000 09:12:05 -0000 1.3 +++ compat.h 10 Mar 2003 16:34:34 -0000 1.5 at at -1,4 +1,4 at at -/* libExt+gcc: $Id: compat.h,v 1.3 2000/05/31 09:12:05 veit Exp $ */ +/* libExt+gcc: $Id: compat.h,v 1.5 2003/03/10 16:34:34 neis Exp $ */ /* Fake missing symbols for BSD compatibility: This is only the * compatibility kitchen sink for bad hacks, you cannot live without. */ at at -40,8 +40,6 at at #define _BSD_WINT_T_ int /* wint_t */ #define _BSD_RUNE_T_ unsigned short /* rune_t */ -#define O_EXLOCK 0 -#define O_SHLOCK 0 #define WCOREDUMP(a) 0 #define TCSASOFT 0 at at -49,7 +47,3 at at #define _POSIX2_RE_DUP_MAX 255 #endif -#define MIN(a,b) ((a)<(b)?(a):(b)) -#define MAX(a,b) ((a)>(b)?(a):(b)) - -typedef char *_BSD_VA_LIST_; > clientserver.o: Undefined symbol _chroot referenced from text segment > make: *** [rsync] Error 1 Hm, I'm apparently totally confused as to what source code I actually am compiling .... :-( Looking at the log file, some patch has been applied, but I don't understand why I don't have a problem with this stuff relating to "link" & co... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Tue, 11 Mar 2003 14:25:54 +0000 From: John Poltorak Subject: Re: rsync On Tue, Mar 11, 2003 at 02:13:41PM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > > clientserver.o: Undefined symbol _chroot referenced from text segment > > make: *** [rsync] Error 1 > > Hm, I'm apparently totally confused as to what source code I actually > am compiling .... :-( RSYNC ? .... :-)... > Looking at the log file, some patch has been applied, but I don't understand > why I don't have a problem with this stuff relating to "link" & co... I'm trying to figure out what you have done so that I can replicate it. When I try building RSYNC straight from source using Posix/2 without any patches I get the error above. If you don't get that error you must have done something in addition to what you have said, or there must be something extra in your environment. > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Tue, 11 Mar 2003 14:38:16 +0000 From: John Poltorak Subject: Re: Apache On Tue, Mar 11, 2003 at 01:22:55PM +0100, Hannes Hromadka wrote: > On Mon, Mar 10, 2003 at 09:55:30PM +0000, John Poltorak wrote: > > > > Where is Apache usually installed on a Unix system? > > > Depends 8-( > > Here are the names of the apache binary on 3 systems I have here. > > Debian Woody: /usr/sbin/apache > Solaris 8 Intel: /usr/lib/ab2/dweb/sunos5/bin/dwhttpd > Solaris 8 Sparc: /usr/local/apache/bin/httpd > > I prefere to have it installed with prefix /usr I'd like to have a go at building it... Is it possible to use a build prefix on OS/2? Has anyone tried building it? How difficult is it? > > Ciao, Hannes > > -- > Johannes Hromadka | Email Office: HromadkaJ at gmx.at > | Home : Johannes.Hromadka at gmx.net > Vienna/Austria/Europe | OECC: http://www.oecc.org/ > >>> Rust never sleeps (borrowed from Neil YOUNG) <<< -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Tue, 11 Mar 2003 17:07:28 +0000 From: John Poltorak Subject: Re: rsync On Tue, Mar 11, 2003 at 05:13:04PM +0100, Stefan.Neis at t-online.de wrote: > > > > Hm, I'm apparently totally confused as to what source code I actually > > > am compiling .... :-( > > > > RSYNC ? .... :-)... > > ;-) > > > I'm trying to figure out what you have done so that I can replicate it. > > Well, in some old version of your build environment, I did a "build rsync", I think it is important to install the latest UX2 Build System since now Posix/2 is fully integrated by default and nothing is required to add Posix/2, although in the case of problems, an app can be added to p2_exc.lst to exclude Posix/2 if necessary. > which apparently did apply some patches (which for some reason I just didn't > see when looking at rsync.log yesterday Patches are automatically added if there is an appropriate patch file in \unixos2\patches. For RSYNC that is rsync-2.5.5.diff. > - I'm apparently still a bit ill ;-) ). > As that was using a pure EMX environment, compilation failed quite early for > lack of syslog. I changed the environment to include Posix/2, then I reran > configure and make and ended up with an "rsync" without further trouble. ;-) If you can reproduce your build, then I should be able to too. I know I can build it without Posix/2 but with an external syslog library, but with a standard UX2BS environment (with changes to compat.h) it always fails. Can you confirm whether you run autoconf to rebuild configure? In either case I get Undefined symbol _do_symlink in backup.o and generator.o. > I'm not particularly unhappy about that, but not understanding at all why/how > it worked over here but failed for Dave and/or you is a bit of a problem... Maybe if you could install the latest UX2BS somewhere and compare it with with the environment you are currently using you could tell where the differences are... My guess would be that you are using a different version of Posix/2, or maybe have different CFLAGS or somesuch... The latest ux2_bootstrap.cmd is available here:- ftp://os2ports.com/pub/ux2bs/build/lib/ux2_bootstrap.cmd > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Tue, 11 Mar 2003 17:13:04 +0100 From: Stefan.Neis at t-online.de Subject: Re: rsync > > Hm, I'm apparently totally confused as to what source code I actually > > am compiling .... :-( > > RSYNC ? .... :-)... ;-) > I'm trying to figure out what you have done so that I can replicate it. Well, in some old version of your build environment, I did a "build rsync", which apparently did apply some patches (which for some reason I just didn't see when looking at rsync.log yesterday - I'm apparently still a bit ill ;-) ). As that was using a pure EMX environment, compilation failed quite early for lack of syslog. I changed the environment to include Posix/2, then I reran configure and make and ended up with an "rsync" without further trouble. ;-) I'm not particularly unhappy about that, but not understanding at all why/how it worked over here but failed for Dave and/or you is a bit of a problem... Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Tue, 11 Mar 2003 19:23:46 +0000 From: John Poltorak Subject: Re: Problems building GREP On Mon, Mar 10, 2003 at 10:00:52PM +0100, Andreas Buening wrote: > John Poltorak wrote: > > > > Here is part of my build log:- > > [snip] > > > checking for GNU gettext in libc... no > > checking for GNU gettext in libintl... no > > [snip] > > > It seems there are a few differences... You have gettext in libintl, but I > > don't. How do I check that manually? > > Depending on whether you use -Zomf or not you need a intl.lib or intl.a > in your LIBRARY_PATH. I've tried creating intl.a, intl.lib, libintl.a, libintl.lib. I've also tried compiling with and without -Zomf, but can't find any way for the check for GNU gettext in libintl to come back with yes... There must be some way of finding out why configure doesn't find it... I guess I need to download your binary version of gettext and see if it will find the versions included in that... I can't see that I'm doing anything wrong, and AFAICT, I've followed your build instructions as closely as possible. > Bye, > Andreas > > -- > One OS to rule them all, One OS to find them, > One OS to bring them all and in the darkness bind them > In the Land of Mordor where the Shadows lie. -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs