RE: [subversion] Re: Anyone managed to build subversion on SCO Openserver 5?
From: Martin J. Evans <martin.evans_at_easysoft.com>
Date: 2004-05-19 12:37:06 CEST
Joe,
Results of investigating removal of -lprot below. How exactly do I make the
I've done the changes below configuring from the top --without-iconv and still
iconv_open cannot open conversion file /usr/lib/nls/conv/UTF-8_ISO8859-1
and obviously /usr/lib/nls/conv does not exist.
The only way I've managed to get rid of the iconv_open errors is to edit
HAVE_ICONV
I admit I have an /usr/include/iconv.h if that helps find the problem.
Anyway, thanks for your help, I now have svn working without iconv errors.
As you asked I investigated the -lprot:
Removal of -lprot:
configure now works fine WITHOUT having to specify LDFLAGS="-lcurses -lm"
Running configure --without-iconv in top dir then make after the above change
1. apr/network_io/unix/sockaddr.c
2. top level makefile --without-iconv leads to -Lno/lib
BTW it also add -Ino/include
3. apr/misc/unix/errorcodes.c
errorcodes.c:297: warning: passing arg 3 of `stuffbuffer' makes pointer from
because netdb.h does not define hstrerror().
BTW, I've moved on to try and get subversion working on sinix and having a
Martin
-- Martin J. Evans Easysoft Ltd, UK Development On 18-May-2004 Joe Orton wrote: > On Tue, May 18, 2004 at 03:56:49PM +0100, Martin J. Evans wrote: >> I had a few problems that I'll mention here in case it helps anyone else and >> I'm still left with a iconv error message coming out multiple times for >> every >> svn command e.g. >> >> iconv_open - cannot open conversion file >> /usr/lib/nls/conv/UTF-8_ISO8859-1 >> >> This obviously made me think of adding something like --without-iconv which >> although not mentioned in subversion's configure, is mentioned under >> apr/apr-util configure (hmm). Reconfiguring with --without-iconv does not >> help. >> Any ideas? > > Ah, the apr-util configure script breaks if you use --without-iconv, > that's a bug - it's the source of the "-Lno/lib" link error. But a > working --without-iconv would indeed be the best way to work around the > error message. > >> 1. Errors during configure for apr saying >> >> "checking for executable suffix... configure: error: installation or >> configuration problem: compiler cannot create executables." >> >> config.log said: >> >> Undefined first referenced >> symbol in file >> nap /lib/libprot.so > ... >> >> Looked like it needed curses and maths (m) libraries. >> Rerun with LDFLAGS="-lcurses -lm" ./configure > > Do you have any idea whether -lprot is really needed at all?. It would > be useful if you could edit the APR configure script to entirely remove > the section which adds -lprot to LIBS, and re-build from scratch again, > and see if you get a working SVN. > >> 3. During make >> >> /u/sources/subversion-1.0.2/apr/network_io/unix/sockaddr.c: In >> function `find_addresses': >> /u/sources/subversion-1.0.2/apr/network_io/unix/sockaddr.c:518: `h_errno' >> undeclared (first use in this function) >> >> Fixed by adding "extern int h_errno;" to start of sockaddr.c > > That's an annoying one, slightly tricky to fix right. Thanks for > working through all this. > > joe --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Wed May 19 12:38:27 2004 |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.