Mailinglisten-Archive |
Wolfgang Lendl wrote:
>
> habe probleme beim compilieren von mysql-3.22.22
> OS: HP UX-10.20 auf einer HP B180L
> Compiler: gcc 2.8.1
>
> make bricht mit folgender fehlermeldung ab:
>
> Making all in Docs
> Making all in readline
> Making all in client
> Making all in mit-pthreads
> Make: Must be a separator on rules line 18. Stop.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> ich habe mich an die im manual empfohlenen schritte gehalten - gibts
> jemand der diese version unter
> hp-ux 10.20 compiliert hat, und wenn wie ?
>
> ich waere dankbar fuer hinweise, da ich kein experte in sachen gcc, und
> Makefiles bin !
>
> mysqlsource/mit-pthreads/Makefile sieht so aus:
>
> LIB=pthread
> #NOPIC=
> #NOPROFILE=1
> CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/include -I${srcdir}/include
> -DPTHREAD_KERNEL
> CDEBUGFLAGS= -g -O2 -Werror
> CFLAGS+= ${CDEBUGFLAGS}
> CFLAGS+= ${CPPFLAGS} <- done by bsd.lib.mk
> CFLAGS+= ${CPPFLAGS}
> LIBDIR= $(exec_prefix)/lib
> BINDIR= $(exec_prefix)/bin
> INCDIR= $(exec_prefix)/include
> MANDIR= $(exec_prefix)/man
>
> .OBJDIR != if test -d ${.CURDIR}/obj ; then true ; else mkdir
> ${.CURDIR}/obj || exit 1 ; fi ; e
> cho ${.CURDIR}/obj
>
> # Standard bsd install rules look for the "install" program, rather than
>
> # using some variable. So, hack things so that that install rule works.
>
> BINGRP != echo " " `groups` " " | sed 's/ [0-9][0-9]* / /g' | awk
> '{print $$1}'
> BINOWN != echo $${USER}
> LIBMODE = 644 # so ranlib can run!
>
> .include "config.flags"
>
> # %!$_(at)_ pmake seems to automagically cd into the obj directory, so
> relative
> # srcdir references are completely botched. Try to figure out an
> absolute
> # pathname for srcdir here, and live with it.
> srcdir = $(srctop)
>
> beforeinstall: install-dirs
>
> .include "${srcdir}/pthreads/Makefile.inc"
> .include "${srcdir}/stdlib/Makefile.inc"
> .include "${srcdir}/stdio/Makefile.inc"
> .include "${srcdir}/string/Makefile.inc"
> .include "${srcdir}/gen/Makefile.inc"
> .include "${srcdir}/net/Makefile.inc"
> .include "${srcdir}/scripts/Makefile.inc"
>
> $(OBJS) : $(config) $(types) $(paths)
>
> Makefile: ${srcdir}/config/Makefile.in
> cd ${.CURDIR} && sh config.status
>
> all-lib : libpthread.a
> # Removed make install since mysql uses this in place.
> #install : install-bin install-include
> install:
>
> .include <bsd.lib.mk>
>
> mfg Wolfgang
Hallo Wolfgang
Soweit ich weiss, gab es ein Problem mit dem Linken unter HPUX.
Genaueres findest Du im englischen mysql Mailarchiv.
http://www.progressive-comp.com/Lists/?l=mysql&r=1&w=2#mysql
Da war diesen oder letzten Monat eine Diskussion mit erfolgreichem Ende.
Tschau
Christian
php::bar PHP Wiki - Listenarchive