Date: Sat, 27 Mar 2004 00:04:05 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 326 ************************************************** Friday 26 March 2004 Number 326 ************************************************** Subjects for today 1 Re: Building libc : Knut Stange Osmundsen 2 Re: libgimp122.lib -> libgimp122.a : Franz Bakan" 3 Building subversion (was /vfs?) : Steven Levine" 4 Using WGET to obtain remote filesize : John Poltorak 5 Re: Building subversion (was /vfs?) : John Poltorak 6 Re: Using WGET to obtain remote filesize : Steven Levine" 7 Re: Building subversion (was /vfs?) : Steven Levine" 8 Re: Building subversion (was /vfs?) : John Poltorak 9 Re: Using WGET to obtain remote filesize : John Poltorak 10 Re: Building subversion (was /vfs?) : Steven Levine" 11 Re: Using WGET to obtain remote filesize : Steven Levine" 12 Re: Building subversion (was /vfs?) : John Poltorak 13 Re: Using WGET to obtain remote filesize : John Poltorak 14 Re: Using WGET to obtain remote filesize : Steven Levine" 15 Re: libgimp122.lib -> libgimp122.a : Dave and Natalie" 16 Re: Building subversion (was /vfs?) : Dave and Natalie" 17 Re: New ZLIB : Dave and Natalie" 18 Re: Building subversion (was /vfs?) : Johannes Fahrenkrug 19 Re: building Subversion (was /vfs)? : Johannes Fahrenkrug 20 Re: New ZLIB : Yuri Dario" 21 Re: Building subversion (was /vfs?) : John Poltorak 22 Re: Building subversion (was /vfs?) : Johannes Fahrenkrug 23 Re: Building subversion (was /vfs?) : John Poltorak 24 Re: Building subversion (was /vfs?) : Johannes Fahrenkrug 25 Re: Building subversion (was /vfs?) : John Poltorak 26 Re: Building subversion (was /vfs?) : Johannes Fahrenkrug **= Email 1 ==========================** Date: Thu, 25 Mar 2004 16:16:38 +0100 From: Knut Stange Osmundsen Subject: Re: Building libc John Poltorak wrote: > On Thu, Mar 25, 2004 at 12:20:56PM +0100, Knut Stange Osmundsen wrote: > >>John Poltorak wrote: [snip] > > I don't suppose it is this one:- ... > > http://download.innotek.de/gccos2/3.2.2-Beta4/gcc-3.2.2-beta4-src-emx.zip That's the one. Kind Regards, knut **= Email 2 ==========================** Date: Thu, 25 Mar 2004 17:44:57 +0100 (CET) From: "Franz Bakan" Subject: Re: libgimp122.lib -> libgimp122.a On Wed, 24 Mar 2004 16:55:48 -0800, Dave and Natalie wrote: >I've changed *.lib to *.a before. IIRC emximp -o libgimp122.a libgimp122.lib thanks for the hint, I'll try this. >ps if you have a gimp121.dll and/or gimp.dll could you send >it to me privately? Done, but here would be the link: http://os2ports.com/ftp/pub/os2/unix/xfree86/ports/GIMP/1.2.1/gimpb121.zip Bye Franz **= Email 3 ==========================** Date: Thu, 25 Mar 2004 11:23:04 -0800 From: "Steven Levine" Subject: Building subversion (was /vfs?) In <20040325.9592471 at NEU92.gebeco.de>, on 03/25/04 at 09:59 AM, Johannes Fahrenkrug said: >I'm new to this list and the first thing I read in the welcome mail was, >that this isn't the right mailing list for me :) You are on the right list, with the wrong subject. :-) >I have problems compiling subversion under OS/2. You can start by posting the initial error messages. HTH, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 4 ==========================** Date: Thu, 25 Mar 2004 20:36:31 +0000 From: John Poltorak Subject: Using WGET to obtain remote filesize Is there any way to use WGET to obtain the filesize of a remote file? -- John **= Email 5 ==========================** Date: Thu, 25 Mar 2004 20:34:11 +0000 From: John Poltorak Subject: Re: Building subversion (was /vfs?) On Thu, Mar 25, 2004 at 11:23:04AM -0800, Steven Levine wrote: > In <20040325.9592471 at NEU92.gebeco.de>, on 03/25/04 > at 09:59 AM, Johannes Fahrenkrug said: > > >I'm new to this list and the first thing I read in the welcome mail was, > >that this isn't the right mailing list for me :) > > You are on the right list, with the wrong subject. :-) I heard someone mention subversion the other day but I don't know anything about it, apart from being able to read about it from:- http://subversion.tigris.org/ where it is described as ***a compelling replacement for CVS*** > >I have problems compiling subversion under OS/2. > > You can start by posting the initial error messages. I guess the thing to do is download this:- http://subversion.tigris.org/tarballs/subversion-1.0.1.tar.gz and go through the usual autoconf, configure and Make routine and see what happens... > HTH, > > Steven > > > > -- > ---------------------------------------------------------------------- > "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 > www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) > ---------------------------------------------------------------------- > -- John **= Email 6 ==========================** Date: Thu, 25 Mar 2004 13:02:36 -0800 From: "Steven Levine" Subject: Re: Using WGET to obtain remote filesize In <20040325203630.R42296 at warpix.org>, on 03/25/04 at 08:36 PM, John Poltorak said: >Is there any way to use WGET to obtain the filesize of a remote file? Sometimes. You can tell wget to keep the .listing file. For HTTP gets this depends on the webserver providing the info. For FTP sites, it's often easier to just request a file listing with a command line FTP tool. You might take a look at wget's --server-response and --spider options to see if they will do what you want. HTH, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 7 ==========================** Date: Thu, 25 Mar 2004 13:19:19 -0800 From: "Steven Levine" Subject: Re: Building subversion (was /vfs?) In <20040325203410.Q42296 at warpix.org>, on 03/25/04 at 08:34 PM, John Poltorak said: >where it is described as ***a compelling replacement for CVS*** Right in the section titled "Features of Subversion." :-) Anyone that has used CVS for a while will recognize the items described as limitations of CVS. I'm sure a web search will provide other editorial content. IAC, you took the words out of context. The full sentence is: The goal of the Subversion project is to build a version control system that is a compelling replacement for CVS in the open source community. Subversion intends to be a replacement. It's not there yet. v1.0 was released just over a month ago. It's going to take a while for it to mature to the point where folks will start converting large, existing CVS repositories. >and go through the usual autoconf, configure and Make routine and see >what happens... :-) Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 8 ==========================** Date: Thu, 25 Mar 2004 21:24:00 +0000 From: John Poltorak Subject: Re: Building subversion (was /vfs?) On Thu, Mar 25, 2004 at 08:34:11PM +0000, John Poltorak wrote: > I guess the thing to do is download this:- > > http://subversion.tigris.org/tarballs/subversion-1.0.1.tar.gz > > and go through the usual autoconf, configure and Make routine and see what > happens... I just tried it with UX2BS and it got a remarkably long way before finishing with:- gcc -Zmt -DHAVE_CONFIG_H -DOS2 -I../../include -I../../include/arch/os2 -I../../include/arch/unix -c filesys.c -Zomf /unixos2/workdir/subversion-1.0.1/apr/build/aplibtool --mode=compile gcc -Zmt -DHAVE_CONFIG_H -DOS2 -I../../include -I../../include/arch/os2 -I../../include/arch/unix -c mktemp.c && touch mktemp.lo In file included from ../unix/mktemp.c:121, from mktemp.c:1: u:\posix2\include\stdlib.h:363: arguments given to macro `arc4random' u:\posix2\include\stdlib.h:402: arguments given to macro `arc4random' gcc -Zmt -DHAVE_CONFIG_H -DOS2 -I../../include -I../../include/arch/os2 -I../../include/arch/unix -c mktemp.c -Zomf make[3]: *** [mktemp.lo] Error 1 make[3]: Leaving directory `U:/unixos2/workdir/subversion-1.0.1/apr/file_io/os2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `U:/unixos2/workdir/subversion-1.0.1/apr/file_io/os2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `U:/unixos2/workdir/subversion-1.0.1/apr' make: *** [external-all] Error 1 BUGS CHANGES COMMITTERS COPYING ChangeLog.CVS HACKING INSTALL Makefile Makefile.in README STATUS ac-helpers apr apr-util autogen.sh autom4te.cache build build-outputs.mk build.conf config.guess config.log config.nice config.status config.sub configure configure.in contrib dist.sh doc gen-make.py libtool mkinstalldirs neon notes packages subversion subversion_msvc.dsw svn-config svn-config.in svn_private_config.h svn_private_config.h.in svn_private_config.hw tools win-tests.py www INSTALLING BUGS CHANGES COMMITTERS COPYING ChangeLog.CVS HACKING INSTALL Makefile Makefile.in README STATUS ac-helpers apr apr-util autogen.sh autom4te.cache build build-outputs.mk build.conf config.guess config.log config.nice config.status config.sub configure configure.in contrib dist.sh doc gen-make.py libtool mkinstalldirs neon notes packages subversion subversion_msvc.dsw svn-config svn-config.in svn_private_config.h svn_private_config.h.in svn_private_config.hw tools win-tests.py www make: *** Warning: File `build-outputs.mk' has modification time in the future (2098-03-04 06:27:36 > 2004-03-25 21:01:46) ------ making install in apr make[1]: Entering directory `U:/unixos2/workdir/subversion-1.0.1/apr' /unixos2/workdir/subversion-1.0.1/apr/build/aplibtool --mode=link gcc -Zmt -DHAVE_CONFIG_H -DOS2 -I./include -I../include -version-info 9:5:9 -o libapr-0.la -rpath /usr/local/apr/lib strings/apr_cpystrn.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo strings/apr_strings.lo strings/apr_strnatcmp.lo strings/apr_strtok.lo passwd/apr_getpass.lo tables/apr_hash.lo tables/apr_tables.lo file_io/os2/dir.lo file_io/os2/fileacc.lo file_io/os2/filedup.lo file_io/os2/filepath.lo file_io/os2/filepath_util.lo file_io/os2/filestat.lo file_io/os2/filesys.lo file_io/os2/flock.lo file_io/os2/fullrw.lo file_io/os2/maperrorcode.lo file_io/os2/open.lo file_io/os2/pipe.lo file_io/os2/readwrite.lo file_io/os2/seek.lo network_io/os2/*.lo threadproc/os2/*.lo misc/unix/*.lo locks/os2/*.lo time/unix/*.lo mmap/unix/*.lo shmem/os2/*.lo user/unix/*.lo memory/unix/*.lo atomic/unix/*.lo poll/os2/*.lo support/unix/*.lo dso/os2/*.lo emxomfar: .libs/apr-0.lib(network_io/os2/*.obj): No such file or directory emxomfar cr .libs/apr-0.lib strings/apr_cpystrn.obj strings/apr_fnmatch.obj strings/apr_snprintf.obj strings/apr_strings.obj strings/apr_strnatcmp.obj strings/apr_strtok.obj passwd/apr_getpass.obj tables/apr_hash.obj tables/apr_tables.obj file_io/os2/dir.obj file_io/os2/fileacc.obj file_io/os2/filedup.obj file_io/os2/filepath.obj file_io/os2/filepath_util.obj file_io/os2/filestat.obj file_io/os2/filesys.obj file_io/os2/flock.obj file_io/os2/fullrw.obj file_io/os2/maperrorcode.obj file_io/os2/open.obj file_io/os2/pipe.obj file_io/os2/readwrite.obj file_io/os2/seek.obj network_io/os2/*.obj threadproc/os2/*.obj misc/unix/*.obj locks/os2/*.obj time/unix/*.obj mmap/unix/*.obj shmem/os2/*.obj user/unix/*.obj memory/unix/*.obj atomic/unix/*.obj poll/os2/*.obj support/unix/*.obj dso/os2/*.obj make[1]: *** [libapr-0.la] Error 2 make[1]: Leaving directory `U:/unixos2/workdir/subversion-1.0.1/apr' make: *** [external-install] Error 1 It appears to require Berkeley DB v4, which was not installed - I don't know what happens if it isn't available. Does ayone see any obvious errors above? Just checking through the build, I see one program - aplibtool.exe which appears to have been built successfully - at least it runs with no error msgs - although I don't know what it does do... > > > HTH, > > > > Steven > > > > > > > > -- > > ---------------------------------------------------------------------- > > "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 > > www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) > > ---------------------------------------------------------------------- > > > > -- > John > -- John **= Email 9 ==========================** Date: Thu, 25 Mar 2004 21:44:50 +0000 From: John Poltorak Subject: Re: Using WGET to obtain remote filesize On Thu, Mar 25, 2004 at 01:02:36PM -0800, Steven Levine wrote: > In <20040325203630.R42296 at warpix.org>, on 03/25/04 > at 08:36 PM, John Poltorak said: > > >Is there any way to use WGET to obtain the filesize of a remote file? > > Sometimes. You can tell wget to keep the .listing file. > > For HTTP gets this depends on the webserver providing the info. > > For FTP sites, it's often easier to just request a file listing with a > command line FTP tool. > > You might take a look at wget's --server-response and --spider options to > see if they will do what you want. I can't get this code to work right:- if `wget -q -Nc -t 1 -P $REPOSITORY $URL`; then echo retrieval failed exit 1 fi ....principally because RCs from WGET are so unpredictable - or rather mysterious. I want to exit if WGET fails to fully retrieve the required file but interpreting what WGET says is difficult. As an alternative I could compare the size of the retrieved file with the remote file and if they are the same, take it that it has transferred correctly. > HTH, > > Steven > > > -- > ---------------------------------------------------------------------- > "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 > www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) > ---------------------------------------------------------------------- > -- John **= Email 10 ==========================** Date: Thu, 25 Mar 2004 14:01:25 -0800 From: "Steven Levine" Subject: Re: Building subversion (was /vfs?) In <20040325212400.T42296 at warpix.org>, on 03/25/04 at 09:24 PM, John Poltorak said: >In file >included from ../unix/mktemp.c:121, > from mktemp.c:1: >u:\posix2\include\stdlib.h:363: arguments given to macro `arc4random' >u:\posix2\include\stdlib.h:402: arguments given to macro `arc4random' I don't have a copy of this stdlib.h here, but the error implies that the code a line 363 looks like: ... arc4random(...) and somewhere before there is something like: #define arc4random ... arc4random is supposed to be a function that takes arguments. Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 11 ==========================** Date: Thu, 25 Mar 2004 14:31:09 -0800 From: "Steven Levine" Subject: Re: Using WGET to obtain remote filesize In <20040325214450.U42296 at warpix.org>, on 03/25/04 at 09:44 PM, John Poltorak said: >I can't get this code to work right:- > if `wget -q -Nc -t 1 -P $REPOSITORY $URL`; then > echo retrieval failed > exit 1 > fi Try it without the backquotes. You are intepreting the stdout content as a return code. I very much doubt this is what you intended. if wget ... ; then : else echo help fi or wget ... || echo help. I assume you are using a sh compatible shell here. >As an alternative I >could compare the size of the retrieved file with the remote file and if >they are the same, take it that it has transferred correctly. Turns out my spider idea won't work anyway. wget issues a HEAD request and the response will always contain a 0 Content-length. That's what I get for spewing ideas without a quick test. :-) HTH, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 12 ==========================** Date: Thu, 25 Mar 2004 22:36:11 +0000 From: John Poltorak Subject: Re: Building subversion (was /vfs?) On Thu, Mar 25, 2004 at 02:01:25PM -0800, Steven Levine wrote: > In <20040325212400.T42296 at warpix.org>, on 03/25/04 > at 09:24 PM, John Poltorak said: > > >In file > >included from ../unix/mktemp.c:121, > > from mktemp.c:1: > >u:\posix2\include\stdlib.h:363: arguments given to macro `arc4random' > >u:\posix2\include\stdlib.h:402: arguments given to macro `arc4random' > > I don't have a copy of this stdlib.h here, but the error implies that the > code a line 363 looks like: > > ... arc4random(...) /* Fill space with random characters */ while (*trv == 'X') { randnum = arc4random() % (sizeof(padchar) - 1); *trv-- = padchar[randnum]; } > and somewhere before there is something like: > > #define arc4random ... Here is what there is:- #if defined(SVR4) || defined(WIN32) || defined(NETWARE) #ifdef SVR4 #if HAVE_INTTYPES_H #include #endif #endif #define arc4random() rand() #define seedrandom(a) srand(a) #else #if APR_HAVE_STDINT_H #include #endif #define arc4random() random() #define seedrandom(a) srandom(a) #endif > > arc4random is supposed to be a function that takes arguments. emx - stdlib does not have an arc4random posix/2 - stdlib:- extern long _random(void); extern unsigned int _arc4random(void); extern void _arc4random_stir(void); extern void _arc4random_addrandom(unsigned char*,int); FreeBSD - stdlib:- __uint32_t arc4random(void); void arc4random_addrandom(unsigned char *dat, int datlen); void arc4random_stir(void); Don't ask me what any of this means :-)... > Steven > > -- > ---------------------------------------------------------------------- > "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 > www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) > ---------------------------------------------------------------------- > -- John **= Email 13 ==========================** Date: Thu, 25 Mar 2004 22:57:29 +0000 From: John Poltorak Subject: Re: Using WGET to obtain remote filesize On Thu, Mar 25, 2004 at 02:31:09PM -0800, Steven Levine wrote: > In <20040325214450.U42296 at warpix.org>, on 03/25/04 > at 09:44 PM, John Poltorak said: > > >I can't get this code to work right:- > > > if `wget -q -Nc -t 1 -P $REPOSITORY $URL`; then > > echo retrieval failed > > exit 1 > > fi > > Try it without the backquotes. You are intepreting the stdout content as > a return code. I very much doubt this is what you intended. It's amazing! I have had those backquotes there for over a year and just left them in - it seemed to work most of the time too. > if wget ... ; then > : > else > echo help > fi > > or > > wget ... || echo help. Thanks for the suggestion. Maybe you can take a look at UX2BS sometime and see any other boo boos I've made... It does actually work pretty well a lot of the time, and could be enhanced to help build quite a lot more apps justby adding the correct *FLAGS. > I assume you are using a sh compatible shell here. > > >As an alternative I > >could compare the size of the retrieved file with the remote file and if > >they are the same, take it that it has transferred correctly. > > Turns out my spider idea won't work anyway. wget issues a HEAD request > and the response will always contain a 0 Content-length. That's what I > get for spewing ideas without a quick test. :-) Doesn't matter - removing the backquotes seems to have sorted things out. Many thanks for that. > HTH, > > Steven > > > > -- > ---------------------------------------------------------------------- > "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 > www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) > ---------------------------------------------------------------------- > -- John **= Email 14 ==========================** Date: Thu, 25 Mar 2004 15:20:03 -0800 From: "Steven Levine" Subject: Re: Using WGET to obtain remote filesize In <20040325225729.W42296 at warpix.org>, on 03/25/04 at 10:57 PM, John Poltorak said: >It's amazing! I have had those backquotes there for over a year and just >left them in - it seemed to work most of the time too. Well, the -q option did suppress a lot of output that would have allowed to the see the problem much sooner. ;-) >Maybe you can take a look at UX2BS sometime and see any other boo boos >I've made... It does actually work pretty well a lot of the time, and >could be enhanced to help build quite a lot more apps justby adding the >correct *FLAGS. I'd love to if I had the time. I've got a ton of stuff on my push-down schedule. :-( Regards, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 15 ==========================** Date: Thu, 25 Mar 2004 18:52:16 -0800 From: "Dave and Natalie" Subject: Re: libgimp122.lib -> libgimp122.a On Thu, 25 Mar 2004 17:44:57 +0100 (CET), Franz Bakan wrote: > >>ps if you have a gimp121.dll and/or gimp.dll could you send >>it to me privately? > >Done, but here would be the link: > >http://os2ports.com/ftp/pub/os2/unix/xfree86/ports/GIMP/1.2.1/gimpb121.zip Yea, I know. Just didn't want to DL the whole package on my 26.4 connection. Thanks Dave **= Email 16 ==========================** Date: Thu, 25 Mar 2004 18:56:07 -0800 From: "Dave and Natalie" Subject: Re: Building subversion (was /vfs?) On Thu, 25 Mar 2004 21:24:00 +0000, John Poltorak wrote: >gcc -Zmt -DHAVE_CONFIG_H -DOS2 -I../../include -I../../include/arch/os2 -I../../include/arch/unix -c filesys.c -Zomf .... >make[1]: *** [libapr-0.la] Error 2 >make[1]: Leaving directory `U:/unixos2/workdir/subversion-1.0.1/apr' >make: *** [external-install] Error 1 > > >It appears to require Berkeley DB v4, which was not installed - I don't >know what happens if it isn't available. > >Does ayone see any obvious errors above? Just a guess, libtool doesn't like the -Zomf? the *.la usually go with a a.out lib. Dave **= Email 17 ==========================** Date: Thu, 25 Mar 2004 21:25:21 -0800 From: "Dave and Natalie" Subject: Re: New ZLIB On Thu, 01 Jan 2004 19:23:24 +0100 (CET), Yuri Dario wrote: >Hi, > >>>2. Even when switching to import by name, the OS/2 port must maintain >>> the old ordinals, which means no fully automated build is possible. >>How exactly do you move over to import by name and keep the old ordinals? > >I had the same problem creating the MySQL 4.0 client dll: when I did the 3.x version, VAC++ >automatically exported all function by name and by ordinal; since ordinal gets first, all available >client programs linked to mysql.dll are using ordinals to load the dll. >Now I moved to a 'name only' export method using the following trick: in the EXPORTS section > > v3_mysql_connect = mysql_connect at 38 > >adds export for ordinal 38 as mysql_connect (as in 3.x code) but the exported name is renamed >to v3_mysql_connect, so newer programs will not link with it. Below compatibility list, I added > > mysql_connect > Where is compatibility list located? >that is the name export for mysql_connect. So all future links to mysql_connect will go to the >export by name entry rather than to ordinal 38. > >The ordinal list will be removed sometimes in the future, when no 3.x code will be allowed to >run. > > >Bye, > > Yuri Dario **= Email 18 ==========================** Date: Fri, 26 Mar 2004 09:12:56 GMT From: Johannes Fahrenkrug Subject: Re: Building subversion (was /vfs?) Hi again! Wow, it's great that you take such great interest in this subject :)) Well, what I acutally only need to build is the client. Only the server needs BerkeleyDB. Try running autogen.sh first and then, if you have apache2 installed: ../configure --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 And if the make or the configure hangs during configuring/making neon-lib, try to set the --without-neon switch. Thanks so much for all of your help! -Johannes. **= Email 19 ==========================** Date: Fri, 26 Mar 2004 09:25:15 GMT From: Johannes Fahrenkrug Subject: Re: building Subversion (was /vfs)? Hi again :) > Welcome to the list. Thanks for the warm welcome. > I'm not sure what subversion is but if it is a Unix app which you want to > get working on OS/2 then this is definitely the right list. Good :) > Maybe you could outline the sort of problems you are having... > Also, there doesn't seem much point in starting a thread about subversion > using a Subject of /vfs? I know, that was a stupid mistake.I just replied to one posting on the list and forgot to change the subject. D'Oh! Well, now that the subject has been changed, a vivid discussion is going on and ppl are already trying to build it. So I think that is a good starting point :) Thanks a lot for the help already! -Johannes. **= Email 20 ==========================** Date: Fri, 26 Mar 2004 09:22:24 +0100 (CET) From: "Yuri Dario" Subject: Re: New ZLIB Hi Dave, >> v3_mysql_connect = mysql_connect at 38 > >Where is compatibility list located? it is no longer available: since MySQL 4.x changed internal data structures (without changing structure names), old programs cannot access new api. So there is no need to get double entry points, because now the client dll is named MYSQL40.DLL Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.os2power.com/yuri * http://www.teamos2.it */ **= Email 21 ==========================** Date: Fri, 26 Mar 2004 09:51:17 +0000 From: John Poltorak Subject: Re: Building subversion (was /vfs?) On Fri, Mar 26, 2004 at 09:12:56AM +0000, Johannes Fahrenkrug wrote: > Hi again! > > Wow, it's great that you take such great interest in this subject :)) > Well, what I acutally only need to build is the client. Only the > server needs BerkeleyDB. > > Try running autogen.sh first and then, if you have apache2 installed: The first thing I normally do is run autoconf to recreate the configure script. This step itself provides a much chance of the configure sript working as it will be more likely to be OS/2 friendly. Does autogen.sh expect to use the supplied configure script? ie. should I run it after autoconf but before configure? Why do you need Apache? And what should you do if it isn't installed? > ./configure --with-apr=/usr/local/apache2 > --with-apr-util=/usr/local/apache2 > > And if the make or the configure hangs during configuring/making > neon-lib, try to set the --without-neon switch. > > Thanks so much for all of your help! > > -Johannes. > > > > > -- John **= Email 22 ==========================** Date: Fri, 26 Mar 2004 11:16:57 GMT From: Johannes Fahrenkrug Subject: Re: Building subversion (was /vfs?) Hi, > The first thing I normally do is run autoconf to recreate the configure > script. This step itself provides a much chance of the configure sript > working as it will be more likely to be OS/2 friendly. > Does autogen.sh expect to use the supplied configure script? Afaik, autogen.sh checks if it finds all the tools it requires and then creates the configure script. > ie. should I run it after autoconf but before configure? To my knowledge autogen.sh substitutes autoconf at this point. So to my knowledge you're supposed to run autogen.sh first and then the configure script that is created. > Why do you need Apache? And what should you do if it isn't installed? Subversion requires apr and apr-util (apache portable runtime lib). Apr and apr-util come with the subversion sources, but I thought if you run into problems compiling apr and apr-util, you can just point the configure script to the already built libs that come with an apache2 installation. -Johannes. **= Email 23 ==========================** Date: Fri, 26 Mar 2004 10:42:01 +0000 From: John Poltorak Subject: Re: Building subversion (was /vfs?) On Fri, Mar 26, 2004 at 11:16:57AM +0000, Johannes Fahrenkrug wrote: > Hi, > > > The first thing I normally do is run autoconf to recreate the > configure > > script. This step itself provides a much chance of the configure sript > > working as it will be more likely to be OS/2 friendly. > > > Does autogen.sh expect to use the supplied configure script? > > Afaik, autogen.sh checks if it finds all the tools it requires and > then creates the configure script. It tells me I need to install libtool, but carries on anyway so don't know what to expect from the build > > ie. should I run it after autoconf but before configure? > > To my knowledge autogen.sh substitutes autoconf at this point. So to > my knowledge you're supposed to run autogen.sh first and then the > configure script that is created. I'm running this through UX2BS which is my attempt to create an automated build environment for building Unix apps on OS/2. In theory, you just need to add an app name to a table, specify a URL as a source location and then run 'build appname'. Believe it or not this actually does work sometimes too, although more often than not, a few tweaks need to be applied. It would be nice to find the required tweaks to get subversion built. > -Johannes. -- John **= Email 24 ==========================** Date: Fri, 26 Mar 2004 12:09:06 GMT From: Johannes Fahrenkrug Subject: Re: Building subversion (was /vfs?) Hi, > It tells me I need to install libtool, but carries on anyway so don't know > what to expect from the build Well, sometimes you need to tweak the build/buildcheck.sh file a bit... it also doesn't find my autoconf and automake although they are installed... > > > ie. should I run it after autoconf but before configure? > > > > To my knowledge autogen.sh substitutes autoconf at this point. So to > > my knowledge you're supposed to run autogen.sh first and then the > > configure script that is created. > I'm running this through UX2BS which is my attempt to create an automated > build environment for building Unix apps on OS/2. I'm also using the UX2BS. > In theory, you just need to add an app name to a table, specify a URL as a > source location and then run 'build appname'. Believe it or not this > actually does work sometimes too, although more often than not, a few > tweaks need to be applied. It would be nice to find the required tweaks to > get subversion built. That sounds great! I only installed the ux2bs because I though it provides me with all the tools i need to build things, but i didn't know about the »build« command... that is pretty neat! If we could somehow get subversion to build that easily... that would be wonderful! -Johannes. **= Email 25 ==========================** Date: Fri, 26 Mar 2004 11:26:47 +0000 From: John Poltorak Subject: Re: Building subversion (was /vfs?) On Fri, Mar 26, 2004 at 12:09:06PM +0000, Johannes Fahrenkrug wrote: > Hi, > > > It tells me I need to install libtool, but carries on anyway so don't > know > > what to expect from the build > > Well, sometimes you need to tweak the build/buildcheck.sh file a > bit... it also doesn't find my autoconf and automake although they are > installed... It shouldn't have any problems if you are using UX2BS... > > > > ie. should I run it after autoconf but before configure? > > > > > > To my knowledge autogen.sh substitutes autoconf at this point. So to > > > my knowledge you're supposed to run autogen.sh first and then the > > > configure script that is created. > > > I'm running this through UX2BS which is my attempt to create an > automated > > build environment for building Unix apps on OS/2. > > I'm also using the UX2BS. When did you get hold of it? > > In theory, you just need to add an app name to a table, specify a URL > as a > > source location and then run 'build appname'. Believe it or not this > > actually does work sometimes too, although more often than not, a few > > tweaks need to be applied. It would be nice to find the required > tweaks to > > get subversion built. > > That sounds great! I only installed the ux2bs because I though it > provides me with all the tools i need to build things, but i didn't > know about the »build« command... that is pretty neat! Well that it the whole point of it - a single command - build which does everything required to build and install an app from the original source. You could even run build_folder which produces a WPS folder of build objects where you just click on the object you want to build and off it goes. That's the theory anyway... It still needs quite a bit of work along with a lot of testing. > If we could > somehow get subversion to build that easily... that would be > wonderful! It would be great to be build it, and even better to do it without needing to change any source code, which means we don't need a maintainer. > -Johannes. -- John **= Email 26 ==========================** Date: Fri, 26 Mar 2004 13:01:35 GMT From: Johannes Fahrenkrug Subject: Re: Building subversion (was /vfs?) Am 26.03.04, 11.26.47, schrieb John Poltorak zum Thema Re: Building subversion (was /vfs?): > It shouldn't have any problems if you are using UX2BS... Hmmm... > > I'm also using the UX2BS. > When did you get hold of it? I freshly re-installed it with ux2_inst this morning. > Well that it the whole point of it - a single command - build which > does everything required to build and install an app from the original > source. You could even run build_folder which produces a WPS folder of > build objects where you just click on the object you want to build and off > it goes. That's the theory anyway... It still needs quite a bit of work > along with a lot of testing. > > If we could > > somehow get subversion to build that easily... that would be > > wonderful! > It would be great to be build it, and even better to do it without > needing to change any source code, which means we don't need a maintainer. That is true... well, for now the point is to build it at all. Then we could at least release a binary until it works with the build command. Because there is not a single subversion client out there for OS/2... -Johannes.