Compiling on Gentoo

Asked by Silvio Siefke

Hello,

i try to install monbar under Gentoo. The configure script run without any problems, but the compiling stoped with error.

<compile>
Making all in src
make[1]: Entering directory `/usr/local/src/minbar-0.2.1/src'
if gcc -DPACKAGE_NAME=\"minbar\" -DPACKAGE_TARNAME=\"minbar\" -DPACKAGE_VERSION=\"0.2.1\" -DPACKAGE_STRING=\"minbar\ 0.2.1\" -DPACKAGE_BUGREPORT=\"mailto:<email address hidden>\" -DPACKAGE=\"minbar\" -DVERSION=\"0.2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NOTIFY=1 -DUSE_GCONF=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DGETTEXT_PACKAGE=\"minbar\" -I. -I. -DG_LOG_DOMAIN=\"Minbar\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -DMINBAR_PIXMAPSDIR=\"/usr/local/share/pixmaps\" -DMINBAR_DATADIR=\"/usr/local/share/minbar\" -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng15 -DLIBNOTIFY_VERSION_MAJOR=0 -DLIBNOTIFY_VERSION_MINOR=7 -DLIBNOTIFY_VERSION_MICRO=4 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/libart-2.0 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -g -O2 -MT minbar-main.o -MD -MP -MF ".deps/minbar-main.Tpo" -c -o minbar-main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/minbar-main.Tpo" ".deps/minbar-main.Po"; else rm -f ".deps/minbar-main.Tpo"; exit 1; fi
main.c: In Funktion »create_notification«:
main.c:1263:11: Fehler: zu viele Argumente für Funktion »notify_notification_new«
/usr/include/libnotify/notification.h:114:21: Anmerkung: declared here
main.c:1264:2: Warnung: Implizite Deklaration der Funktion »notify_notification_attach_to_status_icon«
main.c:1264:2: Warnung: Geschachtelte extern-Deklaration von »notify_notification_attach_to_status_icon«
main.c: In Funktion »activate_url«:
main.c:1557:9: Warnung: ignoring return value of »system«, declared with attribute warn_unused_result
make[1]: *** [minbar-main.o] Fehler 1
make[1]: Leaving directory `/usr/local/src/minbar-0.2.1/src'
make: *** [all-recursive] Fehler 1
</compile>

Has someone a idea what is the problem?

Regards
Silvio

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu minbar Edit question
Assignee:
No assignee Edit question
Solved by:
Silvio Siefke
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Gentoo isn't supported here. This is Ubuntu support. try:
http://forums.gentoo.org/

Revision history for this message
Silvio Siefke (sisi-arabic) said :
#2

Hey,

and in Gentoo say is Ubuntu. But at end has nothing to do with Gentoo or Ubuntu. The error come on both systems. The message say it, is script error in coding. But monajat run and thats enough. Monajat run by me not under Ubuntu, but minbar. Now minbar not run but monajat, i love linux.

Regards
Silvio

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you run:

sudo apt-get install minbar

It will install if you have the universe repo enabled in software centre

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

It's at version 0.2.1-7 in oneiric

Revision history for this message
Silvio Siefke (sisi-arabic) said :
#5

Hello,

if someone want use minbar on Gentoo i have found the follow way.

1.) Download the source packages and let in run and install the Requirements
2.) Download the deb Package for ur Plattform
3.) unpack first the data package with ar xv minbar-data_0.2.1-7_all.deb and u have 3 files
4.) tar xzf data.tar.gz and then copy the folders in usr
5.) unpack the minbar package deb for ur plattform with ar xv minbar_0.2.1-7_i386.deb and copy the bin to /usr/bin
6.) cp /usr/share/minbar/minbar-logo.png /usr/share/pixmaps/minbar.png
7.) chmod 755 /usr/bin/minbar

Then u can run minbar. Thats the way i has used and it run without problems.

Regards
Silvio