Re: [gentoo-user] what causes HAVE_CONFIG_H not found?
Denis wrote: Here's the output when I run make: CC=gcc mcc -O3 -fomit-frame-pointer -ffast-math -DHAVE_CONFIG_H -I./src/common -I. -I. -o Vegas ./src/vegas/Vegas.tm /usr/bin/mcc: line 1: exec: HAVE_CONFIG_H: not found make: *** [Vegas] Error 127 Looks like the mcc compiler does not understand that -Dfoo means define foo and instead thinks that a file foo is being linked - is mcc supposed to invoke gcc on that line? that 'CC=gcc mcc' construction is a little odd. looks like the Makefile is broken - have you chosen unusual options are configure time? Best bet might be to post on the mailing list for the 3rd party package as well as here! Cheers Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what causes HAVE_CONFIG_H not found?
supposed to invoke gcc on that line? that 'CC=gcc mcc' construction is a little odd. looks like the Makefile is broken - have you chosen Boy this one was messy, but I figured it out. It turns out that there's another mcc compiler from MatLab, and it was installed on my system in /usr/bin. Mathematica's mcc compiler/linker, which I needed to use with the Monte Carlo integration package, was linked to my PATH also, but for some reason, the wrong mcc (from MatLab) was getting invoked first and thus messing up the compile process completely. I deleted the MatLab mcc from /usr/bin, and after that the make script worked like a charm and built all executables just like it was supposed to! Thanks for the help - looking into the makefile and then finding out and comparing the two mcc's and their respective command lines made me realize what's going on. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what causes HAVE_CONFIG_H not found?
Denis wrote: Boy this one was messy, but I figured it out. It turns out that there's another mcc compiler from MatLab, and it was installed on my system in /usr/bin. Mathematica's mcc compiler/linker, which I needed to use with the Monte Carlo integration package, was linked to my PATH also, but for some reason, the wrong mcc (from MatLab) was getting invoked first and thus messing up the compile process completely. I deleted the MatLab mcc from /usr/bin, and after that the make script worked like a charm and built all executables just like it was supposed to! Well done - messy indeed! Cheers Mark -- gentoo-user@gentoo.org mailing list