Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 14:59:05 +0100 (CET)
From:      Xavier Beaudouin <kiwi@oav.net>
To:        <ports@freebsd.org>
Subject:   sysutils/gkrellm building on FreeBSD alpha
Message-ID:  <Pine.NEB.4.33.0201141452480.8414-100000@avanti.home.oav.net>

next in thread | raw e-mail | index | archive | help
Hello,

I didn't submit a pr because for an unknown reasons it seems to get
stuck...

So here is the problem, on freebsd alpha there seems to have not
machine/apm_bios.h file and not sensors interface.


--/---

===>  Patching for gkrellm-1.2.8
===>  Applying FreeBSD patches for gkrellm-1.2.8
===>  Configuring for gkrellm-1.2.8
===>  Building for gkrellm-1.2.8
(cd po && gmake all)
gmake[1]: Entering directory
`/usr/ports/sysutils/gkrellm/work/gkrellm-1.2.8/po'
msgfmt -f -v -o de.mo de.po
230 translated messages, 7 fuzzy translations, 268 untranslated messages.
msgfmt -f -v -o es.mo es.po
489 translated messages, 3 fuzzy translations, 13 untranslated messages.
msgfmt -f -v -o fr.mo fr.po
244 translated messages, 11 fuzzy translations, 250 untranslated messages.
msgfmt -f -v -o ja.mo ja.po
404 translated messages, 11 fuzzy translations, 90 untranslated messages.
msgfmt -f -v -o pl.mo pl.po
505 translated messages.
msgfmt -f -v -o ru.mo ru.po
411 translated messages, 6 fuzzy translations, 88 untranslated messages.
msgfmt -f -v -o sv.mo sv.po
504 translated messages.
gmake[1]: Leaving directory
`/usr/ports/sysutils/gkrellm/work/gkrellm-1.2.8/po'
(cd src && gmake GTK_CONFIG=/usr/X11R6/bin/gtk12-config GTOP_LIBS=
GTOP_INCLUDE= \
        EXTRAOBJS= SYS_LIBS="-lkvm -ldevstat -lmd" gkrellm )
gmake[1]: Entering directory
`/usr/ports/sysutils/gkrellm/work/gkrellm-1.2.8/src'
cc -O -pipe -mcpu=ev5
-DSYSTEM_THEMES_DIR='"/usr/X11R6/share/gkrellm/themes"'
-DSYSTEM_PLUGINS_DIR='"/usr/X11R6/libexec/gkrellm/plugins"' -I..
`/usr/X11R6/bin/gtk12-config --cflags gthread` `imlib-config --cflags-gdk`
-DENABLE_NLS -DLOCALEDIR=\"/usr/X11R6/share/locale\"   -c -o main.o main.c
cc -O -pipe -mcpu=ev5
-DSYSTEM_THEMES_DIR='"/usr/X11R6/share/gkrellm/themes"'
-DSYSTEM_PLUGINS_DIR='"/usr/X11R6/libexec/gkrellm/plugins"' -I..
`/usr/X11R6/bin/gtk12-config --cflags gthread` `imlib-config --cflags-gdk`
-DENABLE_NLS -DLOCALEDIR=\"/usr/X11R6/share/locale\"   -c -o alerts.o
alerts.c
cc -O -pipe -mcpu=ev5
-DSYSTEM_THEMES_DIR='"/usr/X11R6/share/gkrellm/themes"'
-DSYSTEM_PLUGINS_DIR='"/usr/X11R6/libexec/gkrellm/plugins"' -I..
`/usr/X11R6/bin/gtk12-config --cflags gthread` `imlib-config --cflags-gdk`
-DENABLE_NLS -DLOCALEDIR=\"/usr/X11R6/share/locale\"   -c -o apm.o apm.c
apm.c:66: machine/apm_bios.h: No such file or directory
apm.c: In function `read_freebsd_apm_data':
apm.c:73: storage size of `info' isn't known
apm.c:77: `APMIO_GETINFO' undeclared (first use in this function)
apm.c:77: (Each undeclared identifier is reported only once
apm.c:77: for each function it appears in.)
gmake[1]: *** [apm.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/sysutils/gkrellm/work/gkrellm-1.2.8/src'
gmake: *** [freebsd] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/gkrellm.
*** Error code 1

Stop in /usr/ports/sysutils/gkrellm.
*** Error code 1

Stop in /usr/ports/sysutils/gkrellm.

--/---

Removing the "apm.o" into OBJS in work/gkrellm-1.2.8/src/Makefile help a
bit, but it fails on compiling sensors.c :

[...]
cc -O -pipe -mcpu=ev5
-DSYSTEM_THEMES_DIR='"/usr/X11R6/share/gkrellm/themes"'
-DSYSTEM_PLUGINS_DIR='"/usr/X11R6/libexec/gkrellm/plugins"' -I..
`/usr/X11R6/bin/gtk12-config --cflags gthread` `imlib-config --cflags-gdk`
-DENABLE_NLS -DLOCALEDIR=\"/usr/X11R6/share/locale\"   -c -o proc.o proc.c
proc.c: In function `read_freebsd_proc':
proc.c:158: warning: passing arg 4 of `sysctl' from incompatible pointer
type
proc.c:161: warning: passing arg 4 of `sysctl' from incompatible pointer
type
proc.c:164: warning: passing arg 4 of `sysctl' from incompatible pointer
type
proc.c:192: warning: passing arg 4 of `sysctl' from incompatible pointer
type
cc -O -pipe -mcpu=ev5
-DSYSTEM_THEMES_DIR='"/usr/X11R6/share/gkrellm/themes"'
-DSYSTEM_PLUGINS_DIR='"/usr/X11R6/libexec/gkrellm/plugins"' -I..
`/usr/X11R6/bin/gtk12-config --cflags gthread` `imlib-config --cflags-gdk`
-DENABLE_NLS -DLOCALEDIR=\"/usr/X11R6/share/locale\"   -c -o sensors.o
sensors.c
sensors.c:235: machine/smb.h: No such file or directory
sensors.c: In function `get_data':
sensors.c:268: storage size of `cmd' isn't known
sensors.c:274: `SMB_READB' undeclared (first use in this function)
sensors.c:274: (Each undeclared identifier is reported only once
sensors.c:274: for each function it appears in.)
gmake[1]: *** [sensors.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/sysutils/gkrellm/work/gkrellm-1.2.8/src'
gmake: *** [freebsd] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/gkrellm.
*** Error code 1

Stop in /usr/ports/sysutils/gkrellm.
*** Error code 1

Stop in /usr/ports/sysutils/gkrellm.


FYI :

su-2.05a# uname -a
FreeBSD alpha.home.oav.net 4.5-RC FreeBSD 4.5-RC #0: Sun Jan 13 20:41:35
CET 2002     root@alpha.home.oav.net:/usr/src/sys/compile/GENERIC  alpha


I can keep in touch if the maintener of gkrellm needs some more help about
porting / tests on FreeBSD/Alpha

Sincerly,
/Xavier


-- 
Xavier Beaudouin - Unix System Administrator & Projects Leader.
For mail address, please check header of this mails. Spams are not accepted.
Caudium: http://caudium.net/, CAMAS webmail: http://camas.caudium.net/
[ Little fortune now ]
 Those who don't understand UNIX are doomed to reinvent it, poorly.
 --Henry Spencer


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.33.0201141452480.8414-100000>