When using this command to configure ng-spice 26, ../configure --with-x --with-readline=yes --disable-debug, I get the error below.
checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/home/matt/Downloads/ngspice-26/release': configure: error: C compiler cannot create executable
Does sanyoone know what this could be?
Thanks
Mash
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same issue when compiling for CentOS. I needed to set the compiler to the one I had on my system, which wasn't gcc and then everything worked fine.
There is as I recall something about this in the readme for the install, if not take a look at the compile help. I can't remember the exact syntax, but if you look at the documentation, it's in there somewhere.
--
Justin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Mash,
try to set the environment CC variable before launch configure in this way:
1) export CC=<YOUR_COMPILER> or setenv CC <YOUR COMPILER="">
2) ./configure ...
Fra
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
When using this command to configure ng-spice 26, ../configure --with-x --with-readline=yes --disable-debug, I get the error below.
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/matt/Downloads/ngspice-26/release':
configure: error: C compiler cannot create executable
Does sanyoone know what this could be?
Thanks
Mash
Hi Mash.
I had the same issue when compiling for CentOS. I needed to set the compiler to the one I had on my system, which wasn't gcc and then everything worked fine.
There is as I recall something about this in the readme for the install, if not take a look at the compile help. I can't remember the exact syntax, but if you look at the documentation, it's in there somewhere.
--
Justin.
Hi Mash,
try to set the environment CC variable before launch configure in this way:
1) export CC=<YOUR_COMPILER> or setenv CC <YOUR COMPILER="">
2) ./configure ...
Fra
Thanks for your help guys, I eventually managed to find the packages I needed to compile a c program.