|I finally solved the installation problem. Let me summarize the difficulties
I faced and work around.
1) Problem in compiling wv-gs
Error message 1 (when performing configure):
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... configure: error: installation or
configuration problem: compiler cannot create executables.
Set environment CC equal to gcc
Error message 2 (when make):
Undefined first referenced
symbol in file
ld: fatal: Symbol referencing errors. No output written to wvWare
collect2: ld returned 1 exit status
make: *** [wvWare] Error 1
Run ./configure --with-libiconv=/usr/local/lib
If libiconv located at /usr/local/lib
2) install-sh cannot be executed
Solution: change its mode manually (Will next release of greenstone fix it?)
3) Error in running library (i.e. execute /cgi-bin/library )
This problem is due to bug in GNU binutils. Certain versions were broken
under Solaris (the one on sunfreeware.com in particular) and produce broken
Work around: setting the environment variable STRIPPROG to the location of
Solaris strip (/usr/ccs/bin/strip) and re-running make install.
> -----Original Message-----
> From: John R. McPherson [mailto:email@example.com]
> Sent: Tuesday, August 31, 2004 9:58 AM
> To: Dave
> Cc: firstname.lastname@example.org
> Subject: RE: [greenstone-users] Problem installating greenstone
> On Tue, 2004-08-31 at 13:25, Dave wrote:
> > Yes. I am using gcc.
> > Could you suggest what can I do to fix the problem?
> > -----Original Message-----
> > > From: John R. McPherson
> > > On Mon, 2004-08-30 at 20:53, Dave wrote:
> > > > /cgi-bin/library also shows error:
> > > >
> > > > library: Cannot findELF
> > > I assume from your previous message that you are running Solaris.
> > >
> > > ELF is the executable file format - for some reason your compiler
> > > is making executables that your operating system can't run.
> > >
> > > My best guess would be that you are using GCC and it is linking
> > > the executables against some dynamic libraries that can't be
> > > found at runtime.
> Unfortunately we haven't had any solaris machines here for a number of
> years now, although the code worked on solaris last time we checked.
> The code should be fairly portable so it shouldn't be too difficult to
> get newer greenstone releases working on solaris. Without being a
> solaris expert I can't tell what the cause of your error message is,
> perhaps you need to get gcc to link programs against an ELF library by
> putting "-lelf" in your CFLAGS and CXXFLAGS when configuring/compiling.