|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: May 2004
Città: Roma
Messaggi: 539
|
[Debian] librerie
ciao, mi trovo sotto debian, stavo installando un programma e nella guida ho trovato:
Make sure you have these libraries: gtk2, OpenGL, Cg (for the GS plugins) dunque, come faccio a vedere se ho queste librerie? se non le ho come faccio ad installarle? |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: May 2004
Città: Roma
Messaggi: 539
|
notifica..
ho provato a compilare.. questo è l'errore che mi restituisce.. Giuliani-server:/etc/pcsx2# sh build.sh all ---------------------------------------- Building Graphics Synthesizer plugins... ---------------------------------------- ---------------------- Building ZeroGS OpenGL ---------------------- Linux/Makefile.am:5: shell pkg-config --cflags gtk+-2.0: non-POSIX variable name Linux/Makefile.am:5: (probably a GNU make extension) Linux/Makefile.am:6: compiling `callbacks.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. make: *** No rule to make target `clean'. Stop. make: *** No rule to make target `install'. Stop. Error with building plugins Giuliani-server:/etc/pcsx2# ./configure bash: ./configure: No such file or directory Giuliani-server:/etc/pcsx2# ./Configure bash: ./Configure: No such file or directory Giuliani-server:/etc/pcsx2# |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Iscritto dal: Jul 2006
Messaggi: 407
|
Quote:
$ apt-cache search <quello che vuoi cercare> penso che le librerie che vuole siano queste: libgtk2.0-dev libglu1-mesa-dev libcgal-dev Ciao Davide |
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: May 2004
Città: Roma
Messaggi: 539
|
ok grazie mille ho installato quelle librerie solo che ora mi restituisce questo errore...
gcc: error trying to exec 'cc1plus': execvp: No such file or directory make[1]: *** [libZeroGSLinux_a-Conf.o] Error 1 make[1]: Leaving directory `/etc/pcsx2/plugins/gs/zerogs/opengl/Linux' make: *** [install-recursive] Error 1 Error with building plugins |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Jul 2006
Messaggi: 407
|
Probabilmente ti manca il compilatore g++:
# apt-get install g++ Ciao Davide |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: May 2004
Città: Roma
Messaggi: 539
|
no no sta alla versione + recente =(
|
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Jul 2006
Messaggi: 407
|
prova a vedere se hai queste:
# apt-get install libstdc++6 libstdc++6-dev Ciao Davide |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: May 2004
Città: Roma
Messaggi: 539
|
ho installato la libstdc++6-dev...
ora mi da quest'altro errore: In file included from Conf.cpp:25: ../GS.h:45:38: error: X11/extensions/xf86vmode.h: No such file or directory ../GS.h:112: error: ‘XF86VidModeModeInfo’ does not name a type make[1]: *** [libZeroGSLinux_a-Conf.o] Error 1 make[1]: Leaving directory `/etc/pcsx2/plugins/gs/zerogs/opengl/Linux' make: *** [install-recursive] Error 1 Error with building plugins |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Jul 2006
Messaggi: 407
|
installa apt-file
# apt-get install apt-file e ad ogni aggiornamento del sistema aggiorna anche la sua cache (può scaricare molti mega): # apt-file update E poi usa tale comando per ricercare in che pacchetto sono i file che ti interessano: $ apt-file search X11/extensions/xf86vmode.h x11proto-xf86vidmode-dev: usr/include/X11/extensions/xf86vmode.h come vedi il pacchetto che ti serve è x11proto-xf86vidmode-dev Ciao Davide |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 13:32.