View previous topic :: View next topic |
Author |
Message |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Tue May 10, 2005 7:33 pm Post subject: [k9copy] error: C compiler cannot create executable (resolu) |
|
|
K9Copy est un petit utilitaire qui permet la copie de DVD sous Linux.
Il s'appuie sur vamps et DVDAuthor pour extraire et recréer un DVD avec un menu personnalisé (la copie des menus originaux n'est pas possible)
J'ai téléchargé k9copy à l'adresse ci-dessous et lorsque je je fais configure jai cette erreur :
http://k9copy.free.fr/
Code: |
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables |
Je n'arrive pas a trouver ou est le problème
Est-ce a cause de ce que j'ai dans la variable USE ?
Last edited by Otm on Wed May 11, 2005 6:07 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue May 10, 2005 7:44 pm Post subject: |
|
|
tu peux nous donner tes clfags stp ?
Ainsi que la sortie de gcc-config -l
Merci. _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Leander256 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/12696515763f31ef9a46a07.jpg)
Joined: 05 Jul 2003 Posts: 910 Location: Singapour
|
Posted: Tue May 10, 2005 8:08 pm Post subject: |
|
|
Est-ce que tu peux aussi nous dire sur quelle partition de ton système tu fais cette compilation, et quelle est la ligne correspondante dans le fichier /etc/fstab ? J'ai eu la même erreur en essayant de compiler un programme sur une partition montée avec l'option noexec ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Tue May 10, 2005 8:10 pm Post subject: |
|
|
Ok, tel que demandé !
gcc-config -l
[1] i686-pc-linux-gnu-3.3.5-20050130 *
[2] i686-pc-linux-gnu-3.3.5-20050130-hardened
[3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
USE="-gtk -gnome X dvdread qt kde dvd oss alsa cdr dvdr apache2
win32codecs nvidia"
/etc/fstab
Code: | /dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / reiserfs noatime,notail 0 0
/dev/hda4 /home reiserfs noatime,notail 0 0
/dev/hda2 none swap sw 0 0 |
Last edited by Otm on Wed May 11, 2005 1:11 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Wed May 11, 2005 1:16 pm Post subject: |
|
|
Est-ce possible pour quelqu'un de faire un ebuild pour que je puisse installer simplement k9copy.
Mais c'est sur que j'aimerais avoir 'une piste pour m'aider a résoudre mon problème. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starch Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 26 Feb 2003 Posts: 539 Location: Rennes, France
|
Posted: Wed May 11, 2005 1:28 pm Post subject: |
|
|
au hasard...
ça marche t'il avec un
Code: |
export CFLAGS=""
./configure
|
et ensuite un
Code: |
export CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
./configure
|
_________________ - Vous aurez beau dire... Y'a pas qu'd'la pomme... Y'aurait pas aussi d'la betterave ?
- Si, y'en a aussi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Wed May 11, 2005 1:57 pm Post subject: |
|
|
Non, ça fait la même chose
Code: | ./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
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
| [/code] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starch Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 26 Feb 2003 Posts: 539 Location: Rennes, France
|
Posted: Wed May 11, 2005 2:03 pm Post subject: |
|
|
Commençons par le commencement donc...
Dans le répertoire des sources de ton prog :
(l'important est de savoir quelle commande a échoué) _________________ - Vous aurez beau dire... Y'a pas qu'd'la pomme... Y'aurait pas aussi d'la betterave ?
- Si, y'en a aussi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Wed May 11, 2005 2:07 pm Post subject: |
|
|
Jespere que ceci peut vous aidez
Code: | gcc: `-V' option must have argument
configure:2550: $? = 1
configure:2573: checking for C compiler default output file name
configure:2576: gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer conftest.
c -ldvdread -lkparts >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/
bin/ld: cannot find -lkparts
collect2: ld returned 1 exit status
configure:2579: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "k9copy"
| #define VERSION "0.1"
| /* end confdefs.h. */
| |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starch Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 26 Feb 2003 Posts: 539 Location: Rennes, France
|
Posted: Wed May 11, 2005 2:14 pm Post subject: |
|
|
Ben ouais... il te manque une librairie...
kparts... je ne sais pas ce que c'est, sans doute un truc de kde...
pourquoi le configure le demande à ce moment, aucune idée...
Code: |
Pré-requis
* DVDAuthor
* vamps (version adaptée disponible sur le site)
* mjpegtools
* libdvdread
* growisofs
|
Et kde messieurs de k9copy ?
Je laisse aux connoisseurs de KDE prendre le relais... (il faudra je pense que tu émerges un truc, mais quoi... ?) _________________ - Vous aurez beau dire... Y'a pas qu'd'la pomme... Y'aurait pas aussi d'la betterave ?
- Si, y'en a aussi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Wed May 11, 2005 2:28 pm Post subject: |
|
|
Starch wrote: |
Et kde messieurs de k9copy ?
Je laisse aux connoisseurs de KDE prendre le relais... (il faudra je pense que tu émerges un truc, mais quoi... ?) |
Bah pour uen appli kde, c'est un peu évident ce prérequis
$ equery belongs /usr/kde/3.4/lib/libkparts.so
[ Searching for file(s) /usr/kde/3.4/lib/libkparts.so in *... ]
kde-base/kdelibs-3.4.0-r2 (/usr/kde/3.4/lib/libkparts.so -> libkparts.so.2.1.0)
yop yop : il faut kdelibs ![Wink ;)](images/smiles/icon_wink.gif) _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Wed May 11, 2005 2:31 pm Post subject: |
|
|
J'ai kde 3.4 d'installé avec tout plien d'application Kde, je ne vois pas pourquoi je n'aurrais pas kdelibs d'installer ...
Mais je vais tout de meme regarder ca de plus proche.
[ Searching for file(s) /usr/kde/3.4/lib/libkparts.so in *... ]
kde-base/kdelibs-3.4.0-r1 (/usr/kde/3.4/lib/libkparts.so -> libkparts.so.2.1.0) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starch Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 26 Feb 2003 Posts: 539 Location: Rennes, France
|
Posted: Wed May 11, 2005 2:49 pm Post subject: |
|
|
guilc wrote: | Bah pour uen appli kde, c'est un peu évident ce prérequis ![Mr. Green :mrgreen:](images/smiles/icon_mrgreen.gif) |
Teuteu... Sur leur site, rien ne laisse présager qu'il s'agit d'une appli kde, mis à part le 'k', mais bon...
Otm wrote: |
/usr/kde/3.4/lib/libkparts.so
|
Oueps mais je doute que ce soit un rep standard ça...
/usr/kde/3.4/lib est il dans ton LD_LIBRARY_PATH
sinon
Code: |
export LD_LIBRARY_PATH=/usr/kde/3.4/lib:$LD_LIBRARY_PATH
|
et si ça marche pas scregneugneu (c'est possible, je me demande si je viens pas de dire une connerie)
Code: |
ln -s /usr/kde/3.4/lib/libkparts.so /usr/lib/libkparts.so
|
_________________ - Vous aurez beau dire... Y'a pas qu'd'la pomme... Y'aurait pas aussi d'la betterave ?
- Si, y'en a aussi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Wed May 11, 2005 2:57 pm Post subject: |
|
|
ln -s /usr/kde/3.4/lib/libkparts.so /usr/lib/libkparts.so
Merci ca marche presque
Last edited by Otm on Wed May 11, 2005 3:01 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starch Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 26 Feb 2003 Posts: 539 Location: Rennes, France
|
Posted: Wed May 11, 2005 2:59 pm Post subject: |
|
|
Mais c'est pas propre ![Sad :(](images/smiles/icon_sad.gif) _________________ - Vous aurez beau dire... Y'a pas qu'd'la pomme... Y'aurait pas aussi d'la betterave ?
- Si, y'en a aussi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Wed May 11, 2005 3:00 pm Post subject: |
|
|
oups !!!
Code: | checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix! |
config.log
Code: | configure: 29160: /usr/include/kde/ksharedptr.h
configure: 29160: /usr/include/ksharedptr.h
configure: 29160: /opt/kde3/include/ksharedptr.h
configure: 29160: /opt/kde/include/ksharedptr.h
configure: 29160: ./ksharedptr.h
configure: 29160: /usr/qt/3/include/ksharedptr.h
configure:29171: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix! |
Ca pas marché longtemps
Last edited by Otm on Wed May 11, 2005 3:04 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Starch Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Lemonhead.gif)
Joined: 26 Feb 2003 Posts: 539 Location: Rennes, France
|
Posted: Wed May 11, 2005 3:03 pm Post subject: |
|
|
hey, j'y pense, comme ça...
tu peux pas configurer les répertoires des libs et headers de kde avec une option du configure ?
configure --help
genre
./configure --with-kdelib-path=ldfkdlfk _________________ - Vous aurez beau dire... Y'a pas qu'd'la pomme... Y'aurait pas aussi d'la betterave ?
- Si, y'en a aussi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Wed May 11, 2005 3:26 pm Post subject: |
|
|
Il y a aucune option pour spécifier ou son les librairies de KDE
./configure --libdir=/usr/kde/3.4/lib/
configure:2573: checking for C compiler default output file name
configure:2576: gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer /usr/kde/usr/kde/3.4/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure:2579: $? = 1
Ca ne marche pas plus ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
guilc Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/190892864153fcc64a2a920.jpg)
Joined: 15 Nov 2003 Posts: 3326 Location: Paris - France
|
Posted: Wed May 11, 2005 5:17 pm Post subject: |
|
|
Code: | KDEDIR=/usr/kde/3.4 ./configure | devrait marcher
Autre solution : faire un ebuild qui hérite de l'eclass "kde", qui fait ça automatiquement _________________ Merci de respecter les règles du forum.
Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Otm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2003 Posts: 21
|
Posted: Wed May 11, 2005 6:06 pm Post subject: |
|
|
guilc
Tu as raison !
Code: | KDEDIR=/usr/kde/3.4 ./configure |
Merci beaucoup |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|