make check failure on old Linux

2008-04-03 Thread Alain Guibert
Hello, On my old Linux box (Intel Pentium 200 MMX, Debian bo, kernel 2.0.40, gcc 2.7.2.1, libc 5.4.33, GNU ld cygnus-2.7.1, libiconv 1.12, pth 2.0.7, i586-pc-linux-gnulibc1, autoconf 2.61, fileutils 3.16, Make 3.75, bash 2.0.0(1)) during automake 1.10.1 build, make check fails one test: | FAIL:

build configuration help

2008-04-03 Thread Bob Rossi
Hi, I'm building an application that links to wxwidgets. I want to allow wxwidgets to be built both statically (.a) and dynamically (.so). This program builds on a variety of platforms, including linux and mingw. If I choose to build a static wxwidgets library, deployment is easy on both linux

Re: build configuration help

2008-04-03 Thread John Calcote
Bob, Bob Rossi wrote: On windows, the dll goes into the bin dir, and the program uses the proper dll. This is something that windows does reasonably well. I'm not against Windows, but what makes you think Windows does it the right way? Actually, the Win32 SxS (side-by-side) cache is the

Re: build configuration help

2008-04-03 Thread Bob Rossi
On Thu, Apr 03, 2008 at 08:36:44AM -0600, John Calcote wrote: Bob, On linux, there is no such guarentee. So, I have come up with 2 solutions, and wonder if someone else has a better idea, or prefers one over the others. - Modify the automake to build the program as foo-bin, instead of foo

Re: build configuration help

2008-04-03 Thread NightStrike
On 4/3/08, Bob Rossi [EMAIL PROTECTED] wrote: On Thu, Apr 03, 2008 at 08:36:44AM -0600, John Calcote wrote: Bob, On linux, there is no such guarentee. So, I have come up with 2 solutions, and wonder if someone else has a better idea, or prefers one over the others. - Modify the

Re: build configuration help

2008-04-03 Thread John Calcote
Bob Rossi wrote: If I put it in the lib directory on other platforms, on startup, how will the binary know where to find the .so? That's why I was asking about LD_LIBRARY_PATH, and creating a script Okay, let me ask a few questions to clarify your situation. First, is this library being

Re: build configuration help

2008-04-03 Thread Bob Rossi
On Thu, Apr 03, 2008 at 08:55:27AM -0600, John Calcote wrote: Bob Rossi wrote: If I put it in the lib directory on other platforms, on startup, how will the binary know where to find the .so? That's why I was asking about LD_LIBRARY_PATH, and creating a script Okay, let me ask a few

Re: build configuration help

2008-04-03 Thread John Calcote
Bob Rossi wrote: Will it only work if I install with the default installation directory? What if I change the --prefix=/home/bob/foo. Will /home/bob/foo/bin/bar be able to find /home/bob/foo/lib/wxwidgets.so ? If you install libraries into a non-standard location, you're going to have the

Re: build configuration help

2008-04-03 Thread Bob Rossi
On Thu, Apr 03, 2008 at 09:19:00AM -0600, John Calcote wrote: Bob Rossi wrote: Will it only work if I install with the default installation directory? What if I change the --prefix=/home/bob/foo. Will /home/bob/foo/bin/bar be able to find /home/bob/foo/lib/wxwidgets.so ? If you install

Re: build configuration help

2008-04-03 Thread Andreas Schwab
John Calcote [EMAIL PROTECTED] writes: The way you implement this is to use $(prefix)/lib, or $(libdir) in your -R option, which will resolve to the configured library installation directory - /home/bob/foo/lib. When you use -R like this, however, just realize that this binary can only be

Re: build configuration help

2008-04-03 Thread John Calcote
Andreas, Andreas Schwab wrote: John Calcote [EMAIL PROTECTED] writes: The way you implement this is to use $(prefix)/lib, or $(libdir) in your -R option, which will resolve to the configured library installation directory - /home/bob/foo/lib. When you use -R like this, however, just realize