#1 Le 16/07/2007, à 22:42
- Dark&Wise
[Résolu (je pense)] configure: error: invalid variable name: --prefix
j'ai besoin d'installer systemC sur la version 7.04, normalement sur la version 6.06 tout va bien car j' ai des amis qui l'ont installé déja et ils n'ont pas eu de problémes.
le probléme est que cette commande ne passe pas :
home/nihel/Desktop/systemc-2.1.v1/objdir# ../configure --prefix=/usr/local/systemc2.1
configure: error: invalid variable name: --prefix
j'ai essayé de remplacer -- prefix par -- build mais :
root@nihel-laptop:/home/nihel/Desktop/systemc-2.1.v1/objdir# ../configure --build=/usr/local/systemc-2.1.v1
checking build system type... /usr/local/systemc-2.1.v1
checking host system type... /usr/local/systemc-2.1.v1
checking target system type... /usr/local/systemc-2.1.v1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/nihel/Desktop/systemc-2.1.v1/config/missing: Unknown `--run' option
Try `/home/nihel/Desktop/systemc-2.1.v1/config/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... /usr/local/gcc4.1.2/bin/gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details
Voilà un extrait du manuel SystemC :
Now, we need to do some more steps (on some systems you might rather use gmake
instead of make):
* ../configure prefix=/usr/local/systemc2.1
* make
* make install
The call make will compile SystemC, make install will install the package to
the specified target folder and must be executed as user root!
It makes sense to provide an installation folder with
prefix=/usr/local/systemc2.1. All necessary and important files are kept
together, and there can easily be installed multiple versions of SystemC that way. If
you want to get rid of the installation you can simply delete the whole folder.
Si vous connais la cause, je suis partant ...
merci
Dernière modification par Dark&Wise (Le 17/07/2007, à 22:12)
Ububntu Tunisia Team :
mailing-list : ubuntu-tn@lists.ubuntu.com
IRC : #ubuntu-tn
wiki : https://wiki.ubuntu.com/TunisianTeam
Hors ligne
#2 Le 16/07/2007, à 22:50
- slasher_fun
Re : [Résolu (je pense)] configure: error: invalid variable name: --prefix
Bah euh tout bêtement le manuel dit "prefix=" et non "--prefix="
Dernière modification par slasher-fun (Le 16/07/2007, à 22:51)
Hors ligne
#3 Le 17/07/2007, à 22:10
- Dark&Wise
Re : [Résolu (je pense)] configure: error: invalid variable name: --prefix
oui tu as parfaitement raison , je ne l'ai pas vu
En fait c'est pas pour moi, c'est pour un ami qui vient de faire ces premiers jours sous ubuntu ....
espérons que çà marche, ...
Dernière modification par Dark&Wise (Le 17/07/2007, à 22:10)
Ububntu Tunisia Team :
mailing-list : ubuntu-tn@lists.ubuntu.com
IRC : #ubuntu-tn
wiki : https://wiki.ubuntu.com/TunisianTeam
Hors ligne