View Full Version : [Debian] librerie
jk-koldus
22-07-2007, 14:04
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?
jk-koldus
22-07-2007, 15:39
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#
Davide.Prina
23-07-2007, 14:42
Make sure you have these libraries: gtk2, OpenGL, Cg (for the GS plugins)
puoi usare
$ 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
jk-koldus
27-07-2007, 16:52
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
Davide.Prina
31-07-2007, 19:43
Probabilmente ti manca il compilatore g++:
# apt-get install g++
Ciao
Davide
jk-koldus
31-07-2007, 19:50
no no sta alla versione + recente =(
Davide.Prina
31-07-2007, 20:17
prova a vedere se hai queste:
# apt-get install libstdc++6 libstdc++6-dev
Ciao
Davide
jk-koldus
31-07-2007, 20:28
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
Davide.Prina
31-07-2007, 20:41
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
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.