First in French, After in English
Bonjour à tous
j'ai des petits problèmes de compilation avec Gephex.
Je suis parti de cette base : http://codelab.fr/303
Malheureusement, au $make , j'ai un arrêt de la compilation comme vous pouvez le voir sur la copie de console qui suit.
Mon install est une Debian Lenny 2.6.22-3-amd64 sur un core 2 duo
Il semblerait qu'il manque un support spécifique au midi mais je n'arrive pas à trouver de solution.
Je n'ai pas vraiment l'utilité du midi pour le moment, donc je suis preneur de toute solution pour trouver comment ajouter le midi ou comment lancer le ./configure en excluant ce module.
Merci d'avance.
Hello !
I have compilation problem with Gephex.
According to http://codelab.fr/303 , I have do the same thing with a bad result.
The install is a Debian Lenny 2.6.22-3-amd64 on an Intel core 2 duo
As you can see following, the compilation stop during the $make process.
I think a midi specific lib is missing but I can't solve it.
Any idea to resolve the problem ? (I don't really need midi support, so, a howto to find the lib or a howto to bypass the midi module is OK for me)
Thanks !
#1 step :
aptitude install install build-essential nasm libqt4-dev libasound2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libaa1-dev libxv-dev libmpeg3-dev libpng12-dev libimlib2-dev docbook2x docbook-xsl pyqt4-dev-tools libavahi-qt4-1 libavahi-qt4-dev libpoppler-qt4-1 libpoppler-qt4-dev lsb-qt4-amd64 ffmpeg libavcodec-dev libavformat-dev
aptitude remove libqt3-mt python-qt3
cd /usr/src/gephex
wget http://www.gephex.org/download/src/gephex-0.4.4.tar.bz2
tar jxvf gephex-0.4.4.tar.bz2
cd gephex-0.4.4
export QTDIR=/usr/share/qt4
# 2 step
$ ./configure --with-MPEG3 --with-LIBPNG --with-GL --with-AVIFILE
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool configure: processing host variable x86_64-unknown-linux-gnu checking for processor type... non x86 processor detected checking for OS... Linux detected. configure: Shared library extension is "so" configure: QT library extension is "so" checking for sstream header...... ok checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes configure: checking for DirectX ...... configure: using environment variable DXSDK_DIR... configure: looking in /Include ... not found configure: checking for Qt ...... checking include path... assuming /usr/include/qt4 checking library path... assuming /usr/lib checking binary directory... assuming /usr/bin checking for qt - version >= 4.1.0... 4.3.2 - yes checking for dlopen in -ldl... yes checking for main in -lposix4... no checking for socket in -lsocket... no checking for connect... (cached) yes checking for nanosleep... yes configure: checking for GL configure: GL support turned on checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes configure: GL is active configure: checking for SDL checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.0... yes configure: SDL is active configure: checking for SDL_IMAGE checking SDL_image.h usability... yes checking SDL_image.h presence... yes checking for SDL_image.h... yes configure: SDL_IMAGE is active configure: checking for SDL_TTF checking SDL_ttf.h usability... yes checking SDL_ttf.h presence... yes checking for SDL_ttf.h... yes configure: SDL_TTF is active configure: checking for AVIFILE configure: AVIFILE support turned on checking for avifile-config... no configure: WARNING: No AVIFILE support found. configure: AVIFILE is not active configure: checking for MPEG3 configure: MPEG3 support turned on checking libmpeg3.h usability... yes checking libmpeg3.h presence... yes checking for libmpeg3.h... yes configure: MPEG3 is active configure: checking for LIBPNG configure: LIBPNG support turned on checking png.h usability... yes checking png.h presence... yes checking for png.h... yes configure: LIBPNG is active configure: checking for AALIB checking aalib.h usability... yes checking aalib.h presence... yes checking for aalib.h... yes configure: AALIB is active configure: checking for ASOUNDLIB checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes configure: ASOUNDLIB is active configure: checking for V4L checking for v4l header...... checking found header... ok configure: V4L is active configure: checking for OSS checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes configure: OSS is active configure: checking for LINUX_JOYSTICK checking linux/joystick.h usability... yes checking linux/joystick.h presence... yes checking for linux/joystick.h... yes configure: LINUX_JOYSTICK is active configure: checking for FFMPEG configure: FFMPEG is active configure: MMX support turned off Preparing ffmpeg configure call... Calling ffmpeg configure with flags: ./configure --prefix=NONE --disable-ffserver --disable-ffplay --enable-shared --enable-memalign-hack install prefix NONE source path /usr/src/gephex/gephex-0.4.4/contrib/ffmpeg C compiler gcc make make ARCH x86_64 (generic) big-endian no inttypes.h yes broken inttypes.h no MMX enabled yes CMOV enabled no CMOV is fast no gprof enabled no zlib enabled yes libgsm enabled no mp3lame enabled no libogg enabled no Vorbis enabled no FAAD enabled no faadbin enabled no FAAC enabled no XviD enabled no x264 enabled no a52 support no a52 dlopened no DTS support no pp support no Software Scaler enabled no AVISynth enabled no debug symbols yes strip symbols yes optimize yes static yes shared yes video hooking yes SDL support yes Imlib2 support yes FreeType support yes Sun medialib support no pthreads support no AMR-NB float support no AMR-NB fixed support no AMR-WB float support no AMR-WB IF2 support no network support yes IPv6 support yes .align is power-of-two no License: LGPL Creating config.mak and config.h... config.h is unchanged checking docbook2x command... assuming /usr/bin/docbook2x-man checking docbook xsl dir... assuming /usr/share/xml/docbook/stylesheet/nwalsh configure: creating ./config.status config.status: creating Makefile config.status: creating base/Makefile config.status: creating base/src/Makefile config.status: creating base/src/TestFramework/Makefile config.status: creating base/src/interfaces/Makefile config.status: creating base/src/net/Makefile config.status: creating base/src/netinterfaces/Makefile config.status: creating base/src/thread/Makefile config.status: creating base/src/utils/Makefile config.status: creating build/Makefile config.status: creating build/dummy/Makefile config.status: creating contrib/Makefile config.status: creating data/Makefile config.status: creating data/gephex-wrapper config.status: creating data/gephex.conf.default config.status: creating engine/Makefile config.status: creating engine/src/Makefile config.status: creating engine/src/dllloader/Makefile config.status: creating engine/src/engine/Makefile config.status: creating engine/src/model/Makefile config.status: creating engine/src/renderer/Makefile config.status: creating examples/Makefile config.status: creating examples/graphs/Makefile config.status: creating examples/img/Makefile config.status: creating modules/Makefile config.status: creating modules/src/Makefile config.status: creating modules/src/audioaddmodule/Makefile config.status: creating modules/src/audiobdmodule/Makefile config.status: creating modules/src/audioenergymodule/Makefile config.status: creating modules/src/audioinmodule/Makefile config.status: creating modules/src/audiooutmodule/Makefile config.status: creating modules/src/audiospecmodule/Makefile config.status: creating modules/src/audiosynthmodule/Makefile config.status: creating modules/src/audiovismodule/Makefile config.status: creating modules/src/audiowavegenmodule/Makefile config.status: creating modules/src/blurmodule/Makefile config.status: creating modules/src/bwmodule/Makefile config.status: creating modules/src/capturemodule/Makefile config.status: creating modules/src/centermodule/Makefile config.status: creating modules/src/chromakeymodule/Makefile config.status: creating modules/src/color2numbermodule/Makefile config.status: creating modules/src/colorizemodule/Makefile config.status: creating modules/src/diffmodule/Makefile config.status: creating modules/src/doepfermodule/Makefile config.status: creating modules/src/dplmodule/Makefile config.status: creating modules/src/ffmpegoutmodule/Makefile config.status: creating modules/src/flashmodule/Makefile config.status: creating modules/src/flipflopmodule/Makefile config.status: creating modules/src/font3Dmodule/Makefile config.status: creating modules/src/fpsmodule/Makefile config.status: creating modules/src/frbinmodule/Makefile config.status: creating modules/src/frboutmodule/Makefile config.status: creating modules/src/funparsemodule/Makefile config.status: creating modules/src/gradnormmodule/Makefile config.status: creating modules/src/ifsgenmodule/Makefile config.status: creating modules/src/ifsmodule/Makefile config.status: creating modules/src/ifsxfadermodule/Makefile config.status: creating modules/src/imagebuffermodule/Makefile config.status: creating modules/src/imagewritermodule/Makefile config.status: creating modules/src/imgarithmodule/Makefile config.status: creating modules/src/isingnoizemodule/Makefile config.status: creating modules/src/joystickmodule/Makefile config.status: creating modules/src/jumpmodule/Makefile config.status: creating modules/src/libdshow/Makefile config.status: creating modules/src/libgrid/Makefile config.status: creating modules/src/libmidi/Makefile config.status: creating modules/src/libscale/Makefile config.status: creating modules/src/libcolorconv/Makefile config.status: creating modules/src/midiinmodule/Makefile config.status: creating modules/src/midiccdecmodule/Makefile config.status: creating modules/src/midinotedecmodule/Makefile config.status: creating modules/src/midikeyrangedecmodule/Makefile config.status: creating modules/src/midiprgchdecmodule/Makefile config.status: creating modules/src/midipitchwdecmodule/Makefile config.status: creating modules/src/mirrormodule/Makefile config.status: creating modules/src/netcontrolmodule/Makefile config.status: creating modules/src/noisemodule/Makefile config.status: creating modules/src/numarithmodule/Makefile config.status: creating modules/src/number2colormodule/Makefile config.status: creating modules/src/numbermodule/Makefile config.status: creating modules/src/numenvmodule/Makefile config.status: creating modules/src/numlfomodule/Makefile config.status: creating modules/src/numposmodule/Makefile config.status: creating modules/src/numxfadermodule/Makefile config.status: creating modules/src/oscinmodule/Makefile config.status: creating modules/src/oscoutmodule/Makefile config.status: creating modules/src/oscnummodule/Makefile config.status: creating modules/src/oscmergemodule/Makefile config.status: creating modules/src/numoscmodule/Makefile config.status: creating modules/src/overlaymodule/Makefile config.status: creating modules/src/pixelizemodule/Makefile config.status: creating modules/src/planemodule/Makefile config.status: creating modules/src/plasmamodule/Makefile config.status: creating modules/src/pongmodule/Makefile config.status: creating modules/src/posnummodule/Makefile config.status: creating modules/src/rangeconvertmodule/Makefile config.status: creating modules/src/resultmodule/Makefile config.status: creating modules/src/rotozoommodule/Makefile config.status: creating modules/src/sdlfontmodule/Makefile config.status: creating modules/src/signalgenmodule/Makefile config.status: creating modules/src/signalplotmodule/Makefile config.status: creating modules/src/staticcolormodule/Makefile config.status: creating modules/src/stringtokenizermodule/Makefile config.status: creating modules/src/timesourcemodule/Makefile config.status: creating modules/src/tunnelmodule/Makefile config.status: creating modules/src/twolayermodule/Makefile config.status: creating modules/src/xfademodule/Makefile config.status: creating modules/src/y4minmodule/Makefile config.status: creating modules/src/yuv4mpeg2module/Makefile config.status: creating effectvmodules/Makefile config.status: creating effectvmodules/src/Makefile config.status: creating effectvmodules/src/libeffectv/Makefile config.status: creating effectvmodules/src/effectvedgemodule/Makefile config.status: creating effectvmodules/src/effectvagingmodule/Makefile config.status: creating effectvmodules/src/effectvburnmodule/Makefile config.status: creating effectvmodules/src/effectvcyclemodule/Makefile config.status: creating effectvmodules/src/effectvdotmodule/Makefile config.status: creating effectvmodules/src/effectvfiremodule/Makefile config.status: creating effectvmodules/src/effectvlensmodule/Makefile config.status: creating effectvmodules/src/effectvlifemodule/Makefile config.status: creating effectvmodules/src/effectvpuzzlemodule/Makefile config.status: creating effectvmodules/src/effectvquarkmodule/Makefile config.status: creating effectvmodules/src/effectvsparkmodule/Makefile config.status: creating effectvmodules/src/effectv1dmodule/Makefile config.status: creating effectvmodules/src/effectvspiralmodule/Makefile config.status: creating effectvmodules/src/effectvbaltanmodule/Makefile config.status: creating effectvmodules/src/effectvdizzymodule/Makefile config.status: creating effectvmodules/src/effectvrndmmodule/Makefile config.status: creating effectvmodules/src/effectvstreakmodule/Makefile config.status: creating effectvmodules/src/effectvblurzoommodule/Makefile config.status: creating effectvmodules/src/effectvmatrixmodule/Makefile config.status: creating effectvmodules/src/effectvpupmodule/Makefile config.status: creating effectvmodules/src/effectvscrollmodule/Makefile config.status: creating effectvmodules/src/effectvtransformmodule/Makefile config.status: creating effectvmodules/src/effectvchameleonmodule/Makefile config.status: creating effectvmodules/src/effectvmosaicmodule/Makefile config.status: creating effectvmodules/src/effectvrdsmodule/Makefile config.status: creating effectvmodules/src/effectvshagadelicmodule/Makefile config.status: creating effectvmodules/src/effectvwarholmodule/Makefile config.status: creating effectvmodules/src/effectvdicemodule/Makefile config.status: creating effectvmodules/src/effectvnervousmodule/Makefile config.status: creating effectvmodules/src/effectvrevmodule/Makefile config.status: creating effectvmodules/src/effectvsimuramodule/Makefile config.status: creating effectvmodules/src/effectvwarpmodule/Makefile config.status: creating effectvmodules/src/effectvdiffmodule/Makefile config.status: creating effectvmodules/src/effectvnoisemodule/Makefile config.status: creating effectvmodules/src/effectvripplemodule/Makefile config.status: creating effectvmodules/src/effectvpredatormodule/Makefile config.status: creating effectvmodules/src/effectvholomodule/Makefile config.status: creating qtgui/Makefile config.status: creating qtgui/src/Makefile config.status: creating qtgui/src/gui/Makefile config.status: creating qtgui/src/gui/base/Makefile config.status: creating qtgui/src/gui/dialogs/Makefile config.status: creating qtgui/src/gui/editor/Makefile config.status: creating qtgui/src/gui/typeviews/Makefile config.status: creating qtgui/src/guimodel/Makefile config.status: creating types/Makefile config.status: creating types/src/Makefile config.status: creating types/src/audiotype/Makefile config.status: creating types/src/envtype/Makefile config.status: creating types/src/fonttype/Makefile config.status: creating types/src/framebuffertype/Makefile config.status: creating types/src/ifstype/Makefile config.status: creating types/src/lfotype/Makefile config.status: creating types/src/miditype/Makefile config.status: creating types/src/numbertype/Makefile config.status: creating types/src/osctype/Makefile config.status: creating types/src/positiontype/Makefile config.status: creating types/src/rgbtype/Makefile config.status: creating types/src/stringtype/Makefile config.status: creating util/Makefile config.status: creating util/include/Makefile config.status: creating util/include/compatibility/Makefile config.status: creating util/src/Makefile config.status: creating util/src/cpuinfo/Makefile config.status: creating util/src/joystick_midi_net/Makefile config.status: creating util/src/libgeo/Makefile config.status: creating util/src/libjoystick/Makefile config.status: creating util/src/misc/Makefile config.status: creating doc/Makefile config.status: creating doc/images/Makefile config.status: creating config.h config.status: executing depfiles commands
$ make -j 3
error ==> gephex-0.4.4/modules/src/doepfermodule
$ make -j 3 (a second time to have the following smaller log)
Par contre, QQchose de troublant, c'est que le make me propose
Something is strange. make return me :
relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
alors qu'au configure j'ai
but in the ./configure phase, I can see :
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
troublant !
Pierre have send me this link http://www.gentoo.org/proj/en/base/amd6 … amp;chap=3
but I don't have tried it anymore. (I don't exactly know how insert the -fPIC flag)
Hors ligne
Malheureusement, ça semble sans issue en 64 bits.
Je suis repassé en 32 bits et la compilation se fait correctement.
Hors ligne
bonjour à tous .
question: quelqu'un a-t'il jamais réussi à compiler gephex sur un linux 64 bits ? perso çà fait un bout que j'essaie sur
jaunty >> échec échec et mat. et c'est pas des histoires de dépendances mais de déclarations . une petite 32 bit dans un coin de disque rien que pour gephex ? çà se pourrait bien....
Hors ligne
jamais essayé sur 64 bits
ceci dit vu ce qui est dit au dessus un simple flag à la compilation pourrait être le solution au problème..
tu as essayer avec -fpic ?
autre chose, les dernières sources sont apparemment situées ici :
http://arch.gephex.org/
si ça se trouve un patch supplémentaire à été ajouté dernièrement... (on peut toujours espérer hein...)
Hors ligne
M'en va essayer de ce pas. Merci. Mais je croyais que le dépot utilisait "darcs".
Dernière modification par sakramh (2009-02-20 21:58:40)
Hors ligne
oui et puis aussi des fois on désespère . Comme dit ALex:" sur 64 bits çà semble sans issue" .
l'option -fpic est incluse dans les options du ./configure. Ai essayé tout plein de trucs que je me rappelle même plus et NIET . En dernier recours j'ai créé un environnement 32 bits "chrooté" et j'ai vite compris que c'est rajouter un problème au problème après l'avoir déplacé. Mais je pense que c'est une bonne piste pour ceux qui veulent absolument garder la 64 bits (et qui ont la patience) . Du coup il y aura peut-être un tuto pour compiler en 64 sur ces pages un jour ....
Hors ligne
Pages: 1