DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 3rd September 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default httrack-3.46.1 make fails on OpenBSD current

Hi !
I was trying to compile httrack-3.46.1 on OpenBSD .. it failed as failed older versions that used to compile flawlessly on OpenBSD 5.0/5.1 ..

i# sysctl kern.version
Code:
kern.version=OpenBSD 5.2-current (GENERIC.MP) #5: Fri Aug 31 21:28:53 MDT 2012
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
partial typescript :
Code:
Script started on Tue Sep  4 05:29:10 2012
# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking build system type... i386-unknown-openbsd5.2
checking host system type... i386-unknown-openbsd5.2
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... openbsd5.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... openbsd5.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether ln -s works... yes
checking size of long... 4
checking size of long long... 8
checking long long printf format... found
checking for in_addr_t... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflateEnd in -lz... (cached) yes
checking zlib in /usr... ok
checking for getaddrinfo in -lc... yes
checking for fopen64 in -lc... no
not found
checking for pthread_create in -lpthread... yes
checking for socket in -lsocket... no
not necessary
checking for iconv in -liconv... no
not necessary
checking for dlopen in -ldl... no
not found
checking for dlopen in -lc... yes
checking for ftime in -lc... no
not found
checking for setuid in -lc... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for working snprintf... yes
checking for working vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating m4/Makefile
config.status: creating templates/Makefile
config.status: creating lang/Makefile
config.status: creating html/Makefile
config.status: creating libtest/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
# make
make  all-recursive
Making all in src
........ ....... ......
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I.. -O -g3 -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wnested-externs -D_REENTRANT -DINET6 -DPREFIX=\"/usr/local\" -DSYSCONFDIR=\"/usr/local/etc\" -DDATADIR=\"/usr/local/share\" -DLIBDIR=\"/usr/local/lib\" -I/usr/include -g -O2 -MT htscharset.lo -MD -MP -MF .deps/htscharset.Tpo -c htscharset.c	 -fPIC -DPIC -o .libs/htscharset.o
htscharset.c:39: warning: no previous prototype for 'hts_isStringAscii'
htscharset.c:355:19: error: iconv.h: No such file or directory
htscharset.c:357: warning: no previous prototype for 'hts_convertStringToUTF8_'
htscharset.c: In function 'hts_convertStringToUTF8_':
htscharset.c:368: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cp'
htscharset.c:368: error: 'cp' undeclared (first use in this function)
htscharset.c:368: error: (Each undeclared identifier is reported only once
htscharset.c:368: error: for each function it appears in.)
htscharset.c:368: warning: implicit declaration of function 'iconv_open'
htscharset.c:368: warning: nested extern declaration of 'iconv_open'
htscharset.c:369: error: 'iconv_t' undeclared (first use in this function)
htscharset.c:385: warning: implicit declaration of function 'iconv'
htscharset.c:385: warning: nested extern declaration of 'iconv'
htscharset.c:414: warning: implicit declaration of function 'iconv_close'
htscharset.c:414: warning: nested extern declaration of 'iconv_close'
htscharset.c: At top level:
htscharset.c:457: warning: no previous prototype for 'hts_getCharsetFromContentType'
*** Error code 1

Stop in /usr/ports/www/httrack-3.46.1/src (line 517 of Makefile).
*** Error code 1

Stop in /usr/ports/www/httrack-3.46.1 (line 297 of Makefile).
*** Error code 1

Stop in /usr/ports/www/httrack-3.46.1 (line 204 of Makefile).
#
Any suggestions ?

Thanks you.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
httrack on openbsd daemonfowl OpenBSD General 0 30th January 2012 08:27 PM
OpenBSD -current is now OpenBSD 5.1 beta ocicat News 0 11th January 2012 10:21 PM
/usr is full (OpenBSD 4.5 current) valorisa OpenBSD Packages and Ports 7 10th June 2009 01:28 PM
FreeBSD 7.0 amd64 make installworld fails. KernelPanic FreeBSD Installation and Upgrading 8 11th June 2008 04:34 PM


All times are GMT. The time now is 05:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick