pkgsrc-WIP-discuss archive

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

Re: clhep does not compile under pkgsrc-current



Hugo Rivera wrote:
> 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.
> 
> 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

> 
> What should I do about it?

Ask me. I've fixed it for you. :)

You could have looked at work*/.work.log if it contains any error 
messages. In your case the cause was that the package uses Perl, but you 
hadn't said USE_TOOLS+=perl in the Makefile.

Unfortunately, the new way of handling error messages often hides those 
useful messages. :(

By the way, you should give pkgtools/pkglint a try. It can detect many 
cases like this. :)

Roland

-------------------------------------------------------------------------
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