Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/06/2007, à 08:48

carpediem

probleme compliation (Résolu)

Salut à tous, je cherche à compiler wxGTK-2.8.3 pour faire fonctionner PeerTv. La compilation bloque quand je lance make hmm

claude@carpediem ~/Free/wxGTK-2.8.3$ make
make: *** No targets specified and no makefile found.  Stop.
claude@carpediem ~/Free/wxGTK-2.8.3$

Merci de votre aide

Dernière modification par carpediem (Le 26/06/2007, à 13:54)


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#2 Le 21/06/2007, à 06:53

carpediem

Re : probleme compliation (Résolu)

up svp smile


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#3 Le 21/06/2007, à 07:08

HymnToLife

Re : probleme compliation (Résolu)

Y'a une raison pour laquelle tu veux omplier wxGTK plutôt que de l'installer via apt ?


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#4 Le 21/06/2007, à 08:50

carpediem

Re : probleme compliation (Résolu)

Salut HymnToLife, je desire installer Peertv et l'installation des wx par paquet ne permet pas a Peertv de fonctionner Il faut donc impérativement compiler manuellement wxGTK-2.8.3


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#5 Le 21/06/2007, à 09:05

HymnToLife

Re : probleme compliation (Résolu)

Je vois... Est-ce que tu as lancé le script de configuration avant d'essayer make ? C'est sans doute lui qui génère le Makefile.


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#6 Le 21/06/2007, à 09:21

carpediem

Re : probleme compliation (Résolu)

voila comment j'ai procedé
tar zxvf wxGTK-2.8.3.tar.gz
cd ~/wxGTK-2.8.3
./configure
make


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#7 Le 24/06/2007, à 15:48

frenchy82

Re : probleme compliation (Résolu)

Bonjour,

Tu peux trouver la procédure ici
http://www.peertv.eu/fr/smf/index.php?topic=610.0

As tu reussi l'install de Peertv?

Hors ligne

#8 Le 24/06/2007, à 17:30

carpediem

Re : probleme compliation (Résolu)

Salut frenchy82, J'ai toujours pas réussi à compiler wx et je bloque à make. par contre j'ai installé PeerTv avec PeerTV-033-Linux-061119.tar.gz et cela fonctionne.
si quelqu'un peut m'aider à compiler wink merci
Salut

Dernière modification par carpediem (Le 24/06/2007, à 17:46)


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#9 Le 24/06/2007, à 17:56

frenchy82

Re : probleme compliation (Résolu)

Bonjour

Est ce que G++ est bien installé chez toi.

C'est le compilateur c++
sudo apt-get install g++

C'est toujours le meme message d'erreur que tu as ?
quand tu lance ./configure tu n'aurais pas un message d'erreur (car dans ce cas tu ne pourrais pas effectivement lancer le make)

Dernière modification par frenchy82 (Le 24/06/2007, à 18:02)

Hors ligne

#10 Le 25/06/2007, à 08:32

carpediem

Re : probleme compliation (Résolu)

Le compilateur c++ est installé et je te joint ci dessous la copie de ./configure & make

claude@carpediem ~/wxGTK-2.8.3$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
loading argument cache configarg.cache
checking for --enable-gui... yes
checking for --enable-monolithic... no
checking for --enable-plugins... no
checking for --without-subdirs... no
checking for --enable-universal... no
checking for --enable-nanox... no
checking for --enable-gpe... no
checking for --with-libpng... yes
checking for --with-libjpeg... yes
checking for --with-libtiff... yes
checking for --with-libxpm... yes
checking for --with-libmspack... yes
checking for --with-sdl... no
checking for --with-gnomeprint... yes
checking for --with-gnomevfs... no
checking for --with-hildon... no
checking for --with-opengl... no
checking for --with-dmalloc... no
checking for --with-regex... yes
checking for --with-zlib... yes
checking for --with-odbc... no
checking for --with-expat... yes
checking for --enable-shared... yes
checking for --enable-optimise... yes
checking for --enable-debug... no
checking for --enable-stl... no
checking for --enable-debug_flag... no
checking for --enable-debug_info... no
checking for --enable-debug_gdb... no
checking for --enable-debug_cntxt... no
checking for --enable-mem_tracing... no
checking for --enable-profile... no
checking for --enable-no_rtti... no
checking for --enable-no_exceptions... no
checking for --enable-permissive... no
checking for --enable-no_deps... no
checking for --enable-vararg_macros... yes
checking for --enable-universal_binary... no
checking for --enable-compat24... no
checking for --disable-compat26... no
checking for --enable-rpath... yes
checking for --enable-intl... yes
checking for --enable-config... yes
checking for --enable-protocols... yes
checking for --enable-ftp... yes
checking for --enable-http... yes
checking for --enable-fileproto... yes
checking for --enable-sockets... yes
checking for --enable-ole... yes
checking for --enable-dataobj... yes
checking for --enable-ipc... yes
checking for --enable-apple_ieee... yes
checking for --enable-arcstream... yes
checking for --enable-backtrace... yes
checking for --enable-catch_segvs... yes
checking for --enable-cmdline... yes
checking for --enable-datetime... yes
checking for --enable-debugreport... yes
checking for --enable-dialupman... yes
checking for --enable-dynlib... yes
checking for --enable-dynamicloader... yes
checking for --enable-exceptions... yes
checking for --enable-ffile... yes
checking for --enable-file... yes
checking for --enable-filesystem... yes
checking for --enable-fontmap... yes
checking for --enable-fs_archive... yes
checking for --enable-fs_inet... yes
checking for --enable-fs_zip... yes
checking for --enable-geometry... yes
checking for --enable-log... yes
checking for --enable-longlong... yes
checking for --enable-mimetype... yes
checking for --enable-mslu... yes
checking for --enable-snglinst... yes
checking for --enable-std_iostreams... yes
checking for --enable-std_string... yes
checking for --enable-stdpaths... yes
checking for --enable-stopwatch... yes
checking for --enable-streams... yes
checking for --enable-system_options... yes
checking for --enable-tarstream... yes
checking for --enable-textbuf... yes
checking for --enable-textfile... yes
checking for --enable-timer... yes
checking for --enable-unicode... no
checking for --enable-sound... yes
checking for --enable-mediactrl... no
checking for --enable-gstreamer8... no
checking for --enable-printfposparam... yes
checking for --enable-zipstream... yes
checking for --enable-url... yes
checking for --enable-variant... yes
checking for --enable-protocol... yes
checking for --enable-protocol_http... yes
checking for --enable-protocol_ftp... yes
checking for --enable-protocol_file... yes
checking for --enable-threads... yes
checking for --enable-docview... yes
checking for --enable-help... yes
checking for --enable-mshtmlhelp... yes
checking for --enable-html... yes
checking for --enable-htmlhelp... yes
checking for --enable-xrc... yes
checking for --enable-aui... yes
checking for --enable-constraints... yes
checking for --enable-printarch... yes
checking for --enable-mdi... yes
checking for --enable-mdidoc... yes
checking for --enable-loggui... yes
checking for --enable-logwin... yes
checking for --enable-logdialog... yes
checking for --enable-webkit... yes
checking for --enable-richtext... yes
checking for --enable-graphics_ctx... no
checking for --enable-postscript... yes
checking for --enable-prologio... no
checking for --enable-resources... no
checking for --enable-clipboard... yes
checking for --enable-dnd... yes
checking for --enable-metafile... yes
checking for --enable-controls... no
checking for --enable-accel... yes
checking for --enable-animatectrl... yes
checking for --enable-button... yes
checking for --enable-bmpbutton... yes
checking for --enable-bmpcombobox... yes
checking for --enable-calendar... yes
checking for --enable-caret... yes
checking for --enable-checkbox... yes
checking for --enable-checklst... yes
checking for --enable-choice... yes
checking for --enable-choicebook... yes
checking for --enable-collpane... yes
checking for --enable-colourpicker... yes
checking for --enable-combobox... yes
checking for --enable-comboctrl... yes
checking for --enable-datepick... yes
checking for --enable-dirpicker... yes
checking for --enable-display... yes
checking for --enable-detect_sm... yes
checking for --enable-filepicker... yes
checking for --enable-fontpicker... yes
checking for --enable-gauge... yes
checking for --enable-grid... yes
checking for --enable-dataviewctrl... no
checking for --enable-hyperlink... yes
checking for --enable-imaglist... yes
checking for --enable-listbook... yes
checking for --enable-listbox... yes
checking for --enable-listctrl... yes
checking for --enable-notebook... yes
checking for --enable-odcombobox... yes
checking for --enable-radiobox... yes
checking for --enable-radiobtn... yes
checking for --enable-sash... yes
checking for --enable-scrollbar... yes
checking for --enable-searchctrl... yes
checking for --enable-slider... yes
checking for --enable-spinbtn... yes
checking for --enable-spinctrl... yes
checking for --enable-splitter... yes
checking for --enable-statbmp... yes
checking for --enable-statbox... yes
checking for --enable-statline... yes
checking for --enable-stattext... yes
checking for --enable-statusbar... yes
checking for --enable-tabdialog... no
checking for --enable-textctrl... yes
checking for --enable-togglebtn... yes
checking for --enable-toolbar... yes
checking for --enable-tbarnative... yes
checking for --enable-treebook... yes
checking for --enable-toolbook... yes
checking for --enable-treectrl... yes
checking for --enable-tipwindow... yes
checking for --enable-popupwin... yes
checking for --enable-commondlg... yes
checking for --enable-aboutdlg... yes
checking for --enable-choicedlg... yes
checking for --enable-coldlg... yes
checking for --enable-filedlg... yes
checking for --enable-finddlg... yes
checking for --enable-fontdlg... yes
checking for --enable-dirdlg... yes
checking for --enable-msgdlg... yes
checking for --enable-numberdlg... yes
checking for --enable-splash... yes
checking for --enable-textdlg... yes
checking for --enable-tipdlg... yes
checking for --enable-progressdlg... yes
checking for --enable-wizarddlg... yes
checking for --enable-menus... yes
checking for --enable-miniframe... yes
checking for --enable-tooltips... yes
checking for --enable-splines... yes
checking for --enable-mousewheel... yes
checking for --enable-validators... yes
checking for --enable-busyinfo... yes
checking for --enable-joystick... yes
checking for --enable-metafile... yes
checking for --enable-dragimage... yes
checking for --enable-accessibility... no
checking for --enable-palette... yes
checking for --enable-image... yes
checking for --enable-gif... yes
checking for --enable-pcx... yes
checking for --enable-tga... yes
checking for --enable-iff... no
checking for --enable-pnm... yes
checking for --enable-xpm... yes
checking for --enable-ico_cur... yes
checking for --enable-official_build... no
saving argument cache configarg.cache
checking for toolkit... gtk
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the Intel C compiler... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether we are using the Intel C++ compiler... no
checking for ranlib... ranlib
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for strip... strip
checking if make is GNU make... yes
checking whether ln -s works... yes
checking for strcasecmp() in string.h... yes
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 for stdlib.h... (cached) yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for void *... yes
checking size of void *... 4
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for size_t... yes
checking size of size_t... 4
checking for long long... yes
checking size of long long... 8
checking for wchar_t... yes
checking size of wchar_t... 4
checking for va_copy... yes
checking whether the compiler supports variadic macros... yes
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking if large file support is available... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking whether byte ordering is bigendian... no
checking how to run the C++ preprocessor... g++ -E
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking if C++ compiler supports bool... yes
checking if C++ compiler supports the explicit keyword... yes
checking whether the compiler supports const_cast<>... yes
checking whether the compiler supports reinterpret_cast<>... yes
checking whether the compiler supports static_cast<>... yes
checking for std::string in <string>... yes
checking for std::istream... yes
checking for std::ostream... yes
checking for libraries directory... lib
checking for glibc 2.1 or later... yes
checking for cos... no
checking for floor... no
checking if floating point functions link without -lm... no
checking for sin... yes
checking for ceil... yes
checking if floating point functions link with -lm... yes
checking for strtoull... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... yes
checking for re_search... yes
checking for zlib.h >= 1.1.4... no
checking for zlib.h... (cached) no
configure: WARNING: zlib library not found or too old, will use built-in instead
checking for png.h > 0.90... no
checking for png.h... (cached) no
configure: WARNING: system png library not found or too old, will use built-in instead
checking for jpeglib.h... no
configure: WARNING: system jpeg library not found, will use built-in instead
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
configure: WARNING: system tiff library not found, will use built-in instead
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
configure: WARNING: system expat library not found, will use built-in instead
checking mspack.h usability... no
checking mspack.h presence... no
checking for mspack.h... no
checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

claude@carpediem ~/wxGTK-2.8.3$ make
make: *** No targets specified and no makefile found.  Stop.
claude@carpediem ~/wxGTK-2.8.3$

Merci de ton aide


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#11 Le 25/06/2007, à 09:49

frenchy82

Re : probleme compliation (Résolu)

Bonjour,

Apparemment il te manquerait la librairie gtk+-2.0
Je ne sais plus quelle commande il faut lancer pour l'installer. (je suis sous xp jusqu'a ce soir)
normalement tu devrait le trouver dans synaptic
Cela doit être libgtk2.0-dev

Merci pour ta persévérence smile

Hors ligne

#12 Le 25/06/2007, à 12:52

koolshen93

Re : probleme compliation (Résolu)

Hello Carpediem ,:):)

il doit y avoir un élément manquant ,essaie de donner le contenu de config.log
son contenu est assez long ~6000 lignes

Hors ligne

#13 Le 25/06/2007, à 15:20

PhilippeP

Re : probleme compliation (Résolu)

c'est bien libgtk2.0-dev qui manque, j'avais le meme message et l'install de libgtk2.0-dev a résolu le probleme.

(et il faut aussi g++ mais cela c'était une étape avant ...)


Attention, je suis loin d'être un Goubunturou ...
Il m'arrive de me tromper (si si...)
Desktop Kubuntu 12.04 KDE 4.9 SC - Lenovo Ideapad S10 3T Kubuntu 12.04 KDE 4.8 SC

Hors ligne

#14 Le 26/06/2007, à 09:01

carpediem

Re : probleme compliation (Résolu)

salut à tous et merci de votre aide, j'ai installé libgtk2.0-dev et j'ai put compiler wx. Mais par contre pas moyen de lancer peertv beta2, j'ai telechargé Peertv Linux 0.4 béta 2 du 21/06 (Paquet Ubuntu) et installé et il se trouve bien dans mon gestionnaire de paquets "quans ça veut pas ça veut pas sad"


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#15 Le 26/06/2007, à 09:08

frenchy82

Re : probleme compliation (Résolu)

Bonjour,
Bon quoi qu'il en soit le plus dur semble fait smile
est ce que tu as bien fait le make install pour wx
As tu des messages d'erreur dans la console quand tu lances peertv

par rapport a ce lien http://www.peertv.eu/fr/smf/index.php?topic=610.0
tu as suivi la 1ere méthode ou la 2eme?

Hors ligne

#16 Le 26/06/2007, à 09:24

carpediem

Re : probleme compliation (Résolu)

voici le message d'erreur que j'obtiens
claude@carpediem ~$ peertv
peertv: error while loading shared libraries: libwx_gtk2_aui-2.8.so.0: cannot open shared object file: No such file or directory
claude@carpediem ~$

j'ai testé les deux méthodes
I) Installer PeerTv

1) Sous ubuntu : Télécharger le paquet peertv.deb (http://www.peertv.eu/fr/download.php), un double click ,Peertv est installé.

2) Autres distributions:

Telecharger les sources de Peertv (http://www.peertv.eu/fr/download.php), les décompresser et se positionner dans le répertoire.

> make
>sudo  make install


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#17 Le 26/06/2007, à 10:44

frenchy82

Re : probleme compliation (Résolu)

Salut,

si tu as fait juste un ./configure pour wx (c'est la 1ere methode, la plus pénible smile)

Alors il te reste juste cela a faire

Rajouter  "/usr/local/lib" dans le fichier (sans les guillemets) dans /etc/ld.so.conf
puis
> sudo ldconfig

Cela devrait être bon

En esperant que cela regle ton prbleme

Hors ligne

#18 Le 26/06/2007, à 13:59

carpediem

Re : probleme compliation (Résolu)

Ca fonctionne:D, merci de votre aide et grâce à vous cela marche à merveille lol


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#19 Le 26/06/2007, à 16:20

frenchy82

Re : probleme compliation (Résolu)

Bonne nouvelle smile

Une fois la premiere install réalisée; pour les mises a jour de peertv c'est beaucoup plus simple
Desinstallation du paquet peertv, reinstallation du nouveau smile

Hors ligne