Summary: | app-admin/conky-1.6.1: Compilation error (missing stdio.h) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gérald Masquelier <gerald.masquelier> |
Component: | New packages | Assignee: | David Shakaryan (RETIRED) <omp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brenden |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
result of a manual ./configure |
Description
Gérald Masquelier
2008-08-19 21:44:37 UTC
Those are no errors, but warnings (incidentally, what locale do you use?). Please attach the entire build log to this bug report. Created attachment 163398 [details]
build log
I have attached the build log...
Here are the most explicits errors that make me thinking that stdio.h isn't include :
conky.c:1565: erreur: 'stdin' undeclared (first use in this function)
conky.c:1649: erreur: 'stderr' undeclared (first use in this function)
My local are for French :# locale
LANG=fr_FR@euro
LC_CTYPE="fr_FR@euro"
LC_NUMERIC="fr_FR@euro"
LC_TIME="fr_FR@euro"
LC_COLLATE="fr_FR@euro"
LC_MONETARY="fr_FR@euro"
LC_MESSAGES="fr_FR@euro"
LC_PAPER="fr_FR@euro"
LC_NAME="fr_FR@euro"
LC_ADDRESS="fr_FR@euro"
LC_TELEPHONE="fr_FR@euro"
LC_MEASUREMENT="fr_FR@euro"
LC_IDENTIFICATION="fr_FR@euro"
LC_ALL=fr_FR@euro
Created attachment 163400 [details]
result of a manual ./configure
I saw that the stdio.h s include by the configure script. The file I attached is the result of a manual ./configure in the /var/tmp/portage/app-admin/conky-1.6.1/work/conky-1.6.1 directory. There are differences with the emerge's one. I hope this will help.
OK, I think I have found the problem. The ebuild make this configure line : ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-proc-uptime --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window --disable-xft --disable-audacious --disable-bmpx --disable-debug --disable-hddtemp --disable-mpd --disable-rss --disable-smapi --disable-wlan --disable-portmon --build=i686-pc-linux-gnu And with this line, I have the same error manually. But when I supress the --disable-mpd option's, I am able to compile : ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-proc-uptime --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window --disable-xft --disable-audacious --disable-bmpx --disable-debug --disable-hddtemp --disable-rss --disable-smapi --disable-wlan --disable-portmon --build=i686-pc-linux-gnu And so, I had mpd in USE variable in my make.conf and then emerge is able to compile it ! But I don't understand why ! (MPD is the Multiplayer Deamon isn't it ?). The mpd flag does indeed add support for music player status information, and related things. There were problems with the previous version with compiling conky with the flag disabled for some reason (at least on my side), however Brenden fixed these. I'm assuming it wasn't a complete fix or such, as it does not seem to work for you. Hopefully Brenden may know what the problem would be? (He's CC'd by the way) Latest prerelease, do it. |