! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-sensors-plugin-1.0.0 can't find libxfce4panel includes
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Samuli Suominen 2010-03-29 17:10:18 CEST
Created attachment 2910 
Missing -I flag for compiler...

./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-static --disable-hddtemp --disable-netcat --disable-libsensors --disable-procacpi --disable-sysfsacpi --disable-notification --enable-procacpi --enable-sysfsacpi

Fails with:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib  -DNDEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/atk-1.0   -march=core2 -msse4.1 -O2 -pipe -c -o xfce4_sensors-actions.o `test -f 'actions.c' || echo './'`actions.c
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po xfce4-sensors.desktop.in xfce4-sensors.desktop
Found too-old cached translation database
Generating and caching the translation database
Merging translations into xfce4-sensors.desktop.
In file included from ../include/sensors-interface.h:28,
                 from main.c:35:
../include/sensors-interface-common.h:34:45: error: libxfce4panel/xfce-panel-plugin.h: No such file or directory
In file included from ../include/sensors-interface.h:28,
                 from main.c:35:
../include/sensors-interface-common.h:74: error: expected specifier-qualifier-list before ‘XfcePanelPlugin’
../include/sensors-interface-common.h:288: error: expected ‘)’ before ‘*’ token
../include/sensors-interface-common.h:290: error: expected declaration specifiers or ‘...’ before ‘XfcePanelPlugin’
Comment 1 Fabian Nowak editbugs 2010-03-30 17:00:15 CEST
thanks for reporting, fixed in git. wasn't aware of this issue.

Bug #6348

Reported by:
Samuli Suominen
Reported on: 2010-03-29
Last modified on: 2010-03-30

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Missing -I flag for compiler... (345 bytes, application/octet-stream)
2010-03-29 17:10 CEST , Samuli Suominen
no flags

Additional information