[SunHELP] make command

Paul Dlug sunhelp at sunhelp.org
Fri Jul 20 11:53:09 CDT 2001


If you don't have it installed already, install gcc from www.sunfreeware.com

Once it's installed in your shell set the environment variable CC to gcc (for csh: setenv CC gcc  sh/bash: export CC=gcc). (This assumes that gcc is in your path).

Then:

rm config.cache
./configure

Then attempt the make again.

--Paul

>hi 
>thanks all for help
>i add /usr/ccs/bin directory with following command:
>PATH=$PATH:/usr/ccs/bin:.:
>export PATH
>now i want to compile my source code for midnight
>commander with following command:
>make -f /mc/Makefile
>and it respond with following error:
>cc -c -I..  -Dinline= -I./../vfs -I./.. -I./../slang
>-I.. -DBINDIR=\""/usr/local/bin/"\"
>-DLIBDIR=\""/usr/local/lib/mc/"\"
>-DICONDIR=\""/usr/local/lib/mc/icons/"\" 
>-DHAVE_CONFIG_H -g local.c
>/usr/ucb/cc:  language optional software package not
>installed
>*** Error code 1
>*** Error code 1
>what is this?
>in the source directory i have configure file.
>with ./configure some scripts executes
>but nothing happend.
>how can i install midnight commander or any other 
>source code on my solaris 8.
>
>thanks
>babak
>
>__________________________________________________
>Do You Yahoo!?
>Get personalized email addresses from Yahoo! Mail
>http://personal.mail.yahoo.com/
>_______________________________________________
>SunHELP maillist  -  SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
>



More information about the SunHELP mailing list