Subject install firebird-1.5.0.4290 on ia64
Author Torsten Schrör
hello,

i have a problem to install firebird on a hp i2000 (ia64)
the autogen.sh works but make dosn't work fine.

i think, he is not able to get the correct cpu-type.

thanks in advance
torsten

autogen.sh

AUTOCONF=autoconf
LIBTOOL=libtool
LIBTOOLiZE=libtoolize
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Running libtoolize ...
Putting files in AC_CONFIG_AUX_DIR, `builds/make.new/config'.
Running autoconf ...
Running ./configure ...
checking whether make sets ${MAKE}... yes
checking build system type... ia64-unknown-linux-gnu
checking host system type... ia64-unknown-linux-gnu
checking target system type... ia64-unknown-linux-gnu
checking for gawk... no
checking for mawk... mawk
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether ln -s works... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
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... yeschecking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC 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.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for bison... bison -y
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking libio.h usability... yes
checking libio.h presence... yes
checking for libio.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for unistd.h... (cached) yes
checking varargs.h usability... yes
checking varargs.h presence... yes
checking for varargs.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking netconfig.h usability... no
checking netconfig.h presence... no
checking for netconfig.h... no
checking for rpc/xdr.h... yes
checking aio.h usability... yes
checking aio.h presence... yes
checking for aio.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking mnttab.h usability... no
checking mnttab.h presence... no
checking for mnttab.h... no
checking sys/mntent.h usability... no
checking sys/mntent.h presence... no
checking for sys/mntent.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for main in -ldl... yes
checking for main in -lc... yes
checking for main in -lm... yes
checking for main in -lcrypt... yes
checking for main in -lcurses... no
checking for main in -lstdc++... yes
checking for strlcpy... no
checking for strlcat... no
checking for gettimeofday... yes
checking if gettimeofday accepts second (timezone) argument... yes
checking for time... yes
checking for times... yes
checking for library containing gethostname... none required
checking for library containing connect... none required
checking for strcasecmp... yes
checking for stricmp... no
checking for library containing dirname... none required
checking for dirname... yes
checking for sigaction... yes
checking for setitimer... yes
checking for snprintf... yes
checking for swab... yes
checking for _swab... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking for setgrp... no
checking for setpgid... yes
checking for getpgrp... yes
checking whether setpgrp takes no argument... yes
checking for flock... yes
checking for initgroups... yes
checking for getpagesize... (cached) yes
checking for crypt... yes
checking for pread... yes
checking for pwrite... yes
checking for getcwd... yes
checking for getwd... yes
checking for setmntent... yes
checking for getmntent... yes
checking if getmntent needs second argument... no
checking for tcgetattr... yes
checking for strdup... yes
checking for mkstemp... yes
checking whether byte ordering is bigendian... no
checking for gcc option to accept ANSI C... none needed
checking for working volatile... yes
checking return type of signal handlers... void
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for native large file support... no
checking for void*... yes
checking size of void*... 8
checking for long... yes
checking size of long... 8
checking for socklen_t... yes
checking for semun... no
checking if sem.h defines semun... no
checking for struct XDR::xdr_ops... no
checking for struct xdr_ops... yes
checking alignment of long... 8
checking alignment of double... 8
checking for /proc/self/exe... yes
configure: creating ./config.status
files are identical
config.status: creating gen/install/makeInstallImage.sh
config.status: creating gen/install/scripts/preinstall.sh
config.status: creating gen/install/scripts/tarinstall.sh
config.status: creating gen/install/scripts/tarMainInstall.sh
config.status: creating gen/install/scripts/taruninstall.sh
config.status: creating gen/install/scripts/tarMainUninstall.sh
config.status: creating gen/install/scripts/postinstall.sh
config.status: creating gen/install/scripts/preuninstall.sh
config.status: creating gen/install/scripts/postuninstall.sh
config.status: creating gen/install/scripts/rpmheader.txt
config.status: creating gen/install/scripts/rpmfiles.txt
config.status: creating gen/install/misc/firebird.conf
config.status: creating gen/install/misc/aliases.conf
config.status: creating gen/install/misc/firebird.xinetd
config.status: creating gen/install/misc/firebird.init.d.generic
config.status: creating gen/install/misc/firebird.init.d.mandrake
config.status: creating gen/install/misc/firebird.init.d.suse
config.status: creating gen/install/misc/firebird.init.d.debian
config.status: creating gen/install/misc/firebird.init.d.gentoo
config.status: creating gen/install/misc/rc.config.firebird
config.status: creating gen/install/bin/changeDBAPassword.sh
config.status: creating gen/install/bin/changeGdsLibraryCompatibleLink.sh
config.status: creating gen/install/bin/createAliasDB.sh
config.status: creating gen/install/bin/fb_config
config.status: creating gen/install/bin/CSchangeRunUser.sh
config.status: creating gen/install/bin/CSrestoreRootRunUser.sh
config.status: creating gen/install/bin/SSchangeRunUser.sh
config.status: creating gen/install/bin/SSrestoreRootRunUser.sh
config.status: creating gen/make.rules
config.status: creating gen/make.defaults
config.status: creating gen/make.platform
config.status: creating gen/make.shared.variables
config.status: creating gen/make.shared.targets
config.status: creating src/Makefile
config.status: creating gen/Makefile.libfbcommon
config.status: creating gen/Makefile.codes
config.status: creating gen/Makefile.boot.gpre
config.status: creating gen/Makefile.libfbstatic
config.status: creating gen/Makefile.static.gpre
config.status: creating gen/Makefile.static.gbak
config.status: creating gen/Makefile.static.isql
config.status: creating gen/Makefile.refDatabases
config.status: creating gen/Makefile.libfbserver
config.status: creating gen/Makefile.fbserver
config.status: creating gen/Makefile.libfbclient
config.status: creating gen/Makefile.client.gbak
config.status: creating gen/Makefile.client.gfix
config.status: creating gen/Makefile.client.gdef
config.status: creating gen/Makefile.client.isql
config.status: creating gen/Makefile.client.gpre
config.status: creating gen/Makefile.client.qli
config.status: creating gen/Makefile.client.util
config.status: creating gen/Makefile.intl
config.status: creating gen/Makefile.msgs
config.status: creating gen/Makefile.extlib
config.status: creating gen/Makefile.v5_examples
config.status: creating gen/Makefile.libfbembed
config.status: creating gen/Makefile.inet_server
config.status: creating gen/Makefile.embed.lockmgr
config.status: creating gen/Makefile.embed.util
config.status: creating gen/Makefile.embed.gfix
config.status: creating gen/Makefile.embed.gbak
config.status: creating gen/Makefile.embed.isql
config.status: creating gen/Makefile.embed.gdef
config.status: creating gen/Makefile.embed.qli
config.status: creating gen/Makefile.embed.gpre
config.status: creating src/v5_examples/Makefile
config.status: creating gen/Makefile.install
config.status: creating Makefile
config.status: creating gen/Makefile.extern.editline
config.status: creating src/include/gen/autoconfig.h


The Firebird2 package has been configured with the following options:

Architecture : ClassicServer
Debug : disabled
64 bit I/O : disabled
Raw devices : disabled
Lock manager : enabled
Service name : gds_db
Service port : 3050
GPRE modules : c_cxx.cpp

Install Dir : /usr/local/firebird

Now type `make' to compile Firebird2



make

make -C src firebird
make[1]: Entering directory `/src/firebird-1.5.0.4290/src'
misc/writeBuildNum.sh createMakeVersion ../gen/Make.Version
make[1]: Leaving directory `/src/firebird-1.5.0.4290/src'
make[1]: Entering directory `/src/firebird-1.5.0.4290/src'
make -f ../gen/Makefile.extern.editline
make[2]: Entering directory `/src/firebird-1.5.0.4290/src'
need to rebuild ../src/extern/editline/sysunix.c
echo ../temp/editline/extern/editline/sysunix.o " : FORCE" >
../temp/editline/extern/editline/sysunix.d
need to rebuild ../src/extern/editline/complete.c
echo ../temp/editline/extern/editline/complete.o " : FORCE" >
../temp/editline/extern/editline/complete.d
need to rebuild ../src/extern/editline/editline.c
echo ../temp/editline/extern/editline/editline.o " : FORCE" >
../temp/editline/extern/editline/editline.d
make[2]: Leaving directory `/src/firebird-1.5.0.4290/src'
make[2]: Entering directory `/src/firebird-1.5.0.4290/src'
cc -DANSI_ARROWS -DHIDE -DHIST_SIZE=100 -DUNIQUE_HISTORY -DSYS_UNIX -I../sr
c/include/gen -I../src/include -ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-fr
ame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -c
../src/extern/editline/editline.c -o
../temp/editline/extern/editline/editline.o
cc1: Invalid option `arch=i586'
cc1: Invalid option `cpu=i686'
../src/extern/editline/editline.c:107: conflicting types for `read'
/usr/include/unistd.h:310: previous declaration of `read'
../src/extern/editline/editline.c:108: conflicting types for `write'
/usr/include/unistd.h:313: previous declaration of `write'
make[2]: *** [../temp/editline/extern/editline/editline.o] Error 1
make[2]: Leaving directory `/src/firebird-1.5.0.4290/src'
make[1]: *** [../gen/firebird/lib/libeditline.a] Error 2
make[1]: Leaving directory `/src/firebird-1.5.0.4290/src'
make: *** [firebird] Error 2