Solaris - error with path's

"F. Schoenahl" <[email protected]> Thu, 13 Nov 2003 10:40:04 +0100
Newsgroups gmane.comp.gnu.cons.general
Message-ID <[email protected]>
Dear all, thanks for Cons, 

i like using it in my projects. I even intend
to translate the documentation into French in order to get a better
undestanding of its subtleties. 

I use it without problems on Slackware Linux (MD5 already packed with
perl), on numerous projects. I tried to reuse a Construct on Solaris 9 -
after compilation of Diget_MD5_2.30 from CPAN, I get the following error when attempting to run 
Cons in a small project : 

$cons voronoi 
cc -g3 -c edgelist.c -o edgelist.o
cons: failed to execute "cc" (No such file or directory). Is this an executable on path "/bin:/usr/bin"?
cons: *** [edgelist.o] Error 2
cons: errors constructing edgelist.o

$echo $PATH
/usr/local/bin:/usr/X/bin:/usr/bin::/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb:/usr/local/scripts:/usr/ccs/bin

$which cc
/usr/local/bin/cc

My Construct looks like that :

# <<<<<<<<<<<<<<<<<<<<<<<<<<<<
$vor = new cons(
        CC => 'cc',
        CFLAGS => '-g3',
        LDFLAGS => '-lm'
);
 
Program $vor 'voronoi', 'edgelist.o', 'geometry.o', 'heap.o', 'main.o', 'memory.o', 'output.o', 'voronoi.o';
 
Objects $vor 'edgelist.c', 'geometry.c', 'heap.c', 'main.c', 'memory.c', 'output.c', 'voronoi.c';

#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

from: 
http://cm.bell-labs.com/who/sjf/voronoi.tar

You may have noticed that I am not a perl expert...
Thanks for your help, 

Fred


_______________________________________________
[email protected]
http://mail.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/