pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

clhep does not compile under pkgsrc-current



for some reason (I really don't know what it could be)
wip/clhep doesn't compile under pkgsrc-current but it
does flawlessly under pkgsrc-2006Q2. Here is the
Makefile:

# $NetBSD$
#
DISTNAME=       clhep-1.9.2.3
CATEGORIES=     math
MASTER_SITES=   http://cern.ch/clhep/
EXTRACT_SUFX=   .tgz

MAINTAINER=     hugor%users.sourceforge.net@localhost
HOMEPAGE=       http://proj-clhep.web.cern.ch/proj-clhep/
COMMENT=        Class library for high energy physics

EXTRACT_DIR=    ${WRKDIR}/1.9.2.3/CLHEP
AUTOCONF_REQD=  2.59
USE_TOOLS+=     automake
USE_TOOLS+=     gmake

GNU_CONFIGURE=  yes
CONFIGURE_SCRIPT= ${EXTRACT_DIR}/configure
USE_LANGUAGES+= c++

pre-configure:
        ${MKDIR} ${WRKSRC};     \
        cd ${EXTRACT_DIR};      \
        autoconf;       \
        aclocal;        \
        automake -a --foreign -i

.include        "../../mk/bsd.pkg.mk"

and the failure output:

Making all in config
gmake[1]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config'
Making all in config
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/config'
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/config'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/config'
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/config'
Making all in .
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config'
/usr/bin/install -d
/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/CLHEP;
gmake[3]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/config'
 install headers in
/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/CLHEP/config

gmake[3]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/config'
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config'
Making all in test
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/test'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config/test'
gmake[1]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/config'
Making all in Units
gmake[1]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units'
Making all in Units
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/Units'
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/Units'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/Units'
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/Units'
Making all in .
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units'
/usr/bin/install -d
/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/CLHEP;
gmake[3]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/Units'
 install headers in
/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/CLHEP/Units

gmake[3]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/Units'
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units'
Making all in test
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/test'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/test'
gmake[1]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units'
Making all in Vector
gmake[1]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector'
Making all in Vector
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/Vector'
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/Vector'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/Vector'
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/Vector'
Making all in .
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector'
/usr/bin/install -d
/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/CLHEP;
gmake[3]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/Vector'
 install headers in
/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/CLHEP/Vector

gmake[3]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/Vector'
gmake[3]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/Units'
 install headers in
/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/CLHEP/Units

gmake[3]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Units/Units'
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector'
Making all in src
gmake[2]: Entering directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/src'
if c++ -DHAVE_CONFIG_H -I.
-I/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src
-I../Vector -I..   -O -ansi -pedantic -Wall -O2 -MT
AxisAngle.o -MD -MP -MF ".deps/AxisAngle.Tpo" -c -o
AxisAngle.o
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc;
\
        then mv -f ".deps/AxisAngle.Tpo"
".deps/AxisAngle.Po"; else rm -f
".deps/AxisAngle.Tpo"; exit 1; fi
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:14:31:
CLHEP/Vector/defs.h: No such file or directory
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:15:36:
CLHEP/Vector/AxisAngle.h: No such file or directory
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:19:
error: syntax
   error before `::' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:21:
error: parse
   error before `&' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:
In function 
   `void CLHEP::ZMpvAxisAngleRep(...)':
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:23:
error: `
   aa' undeclared (first use this function)
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:23:
error: (Each
   undeclared identifier is reported only once for
each function it appears 
   in.)
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:23:
error: `
   sin' undeclared (first use this function)
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:24:
error: `
   cos' undeclared (first use this function)
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:31:
error: `
   array' undeclared (first use this function)
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:
At global 
   scope:
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:46:
error: syntax
   error before `::' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:51:
error: invalid
   use of `this' at top level
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:51:
error: `
   thisRep' was not declared in this scope
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:51:
error: ISO
   C++ forbids declaration of `ZMpvAxisAngleRep' with
no type
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:51:
error: `
   int CLHEP::ZMpvAxisAngleRep' redeclared as
different kind of symbol
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:21:
error: previous
   declaration of `void CLHEP::ZMpvAxisAngleRep(...)'
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:51:
error: initializer
   list being treated as compound expression
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:52:
error: ISO
   C++ forbids declaration of `ZMpvAxisAngleRep' with
no type
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:52:
error: redefinition
   of `int CLHEP::ZMpvAxisAngleRep'
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:51:
error: `
   int CLHEP::ZMpvAxisAngleRep' previously defined
here
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:52:
error: initializer
   list being treated as compound expression
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:55:
error: parse
   error before `for'
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:55:
error: parse
   error before `;' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:55:
error: syntax
   error before `++' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:59:
error: `
   sum' was not declared in this scope
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:60:
error: parse
   error before `return'
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:65:
error: syntax
   error before `::' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:72:
error: syntax
   error before `::' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:86:
error: syntax
   error before `&' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:92:
error: `
   istream' undeclared in namespace `std'
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:92:
error: `
   is' was not declared in this scope
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:93:
error: parse
   error before `&' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:96:
error: syntax
   error before `&' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:100:
error: `
   is' was not declared in this scope
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:100:
error: ISO
   C++ forbids declaration of `ZMinputAxisAngle' with
no type
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:100:
error: `
   int ZMinputAxisAngle' redeclared as different kind
of symbol
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:94:
error: previous
   declaration of `void ZMinputAxisAngle(...)'
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:100:
error: initializer
   list being treated as compound expression
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:101:
error: syntax
   error before `.' token
/home/pkgsrc/wip/clhep/work/1.9.2.3/CLHEP/Vector/src/AxisAngle.cc:102:
error: syntax
   error before `.' token
gmake[2]: *** [AxisAngle.o] Error 1
gmake[2]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/home/pkgsrc/wip/clhep/work/clhep-1.9.2.3/Vector'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /home/pkgsrc/wip/clhep
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/wip/clhep

What should I do about it?


Hugo

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index