Re: [greenstone-devel] installation problem on red hat linux 9

From John R. McPherson
DateTue, 27 May 2003 14:47:17 +1200
Subject Re: [greenstone-devel] installation problem on red hat linux 9
In-Reply-To (20030527021338-BD4AE3E3B-sitemail-everyone-net)
rey vincent babilonia wrote:
> attached is the installation scripts generated by gsdl on our red hat 9 server. can anybody help us about this?
>
> thanks in advance.

> make[2]: Entering directory `/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget/wget-1.5.3'
> cd src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC="/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget/etc/wgetrc" -DLOCALEDIR="/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget/share/locale"' CFLAGS='-O2 -Wall -Wno-implicit' LDFLAGS='' LIBS='' prefix='/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget' exec_prefix='/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget' bindir='/home/admin/gsdl-2.39-unix/Unix/y/gsdl/bin/linux' infodir='/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget/info' mandir='/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget/man' manext='1'
> make[3]: Entering directory `/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget/wget-1.5.3/src'
> gcc -O2 -Wall -Wno-implicit -o wget cmpt.o connect.o fnmatch.o ftp.o ftp-basic.o ftp-ls.o ftp-opie.o getopt.o headers.o host.o html.o http.o init.o log.o main.o md5.o netrc.o rbuf.o recur.o retr.o url.o utils.o version.o
> ftp.o(.text+0x3b5): In function `getftp':
> : undefined reference to `h_errno'
> ftp.o(.text+0xfbc): In function `getftp':
> : undefined reference to `h_errno'
> ftp.o(.text+0x166f): In function `getftp':
> : undefined reference to `h_errno'
> http.o(.text+0x3fd): In function `gethttp':
> : undefined reference to `h_errno'
> collect2: ld returned 1 exit status
> make[3]: *** [wget] Error 1
> make[3]: Leaving directory `/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget/wget-1.5.3/src'
> make[2]: *** [src] Error 2
> make[2]: Leaving directory `/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages/wget/wget-1.5.3'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/home/admin/gsdl-2.39-unix/Unix/y/gsdl/packages'
> make: *** [all] Error 1

This has been discussed on the list before. You can see the previous
questions and solutions online:
http://nzdl.org/cgi-bin/library?a=q&q=h_errno&c=gsarch&t=0

hope this helps

John McPherson.