ports/51481: icewm-1.2.7 port fails on libintl.h

Dimitry Andric dim at xs4all.nl
Sun Apr 27 21:40:17 UTC 2003


>Number:         51481
>Category:       ports
>Synopsis:       icewm-1.2.7 port fails on libintl.h
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 27 14:40:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dimitry Andric
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD tensor.xs4all.nl 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Apr 20 20:59:19 CEST 2003 root at tensor.xs4all.nl:/usr/obj/usr/src/sys/TENSOR i386
>Description:
Building the icewm-1.2.7 port fails on libintl.h, although the gettext
port is installed properly, and libintl.h is in /usr/local/include.

This is because the CXXFLAGS variable, used for compiling .cc files,
does not contain a -I/usr/local/include option.

Additionally, if such an option is manually added, the compilation
fails later in the linking stage, because the LFLAGS variable, used
with linking, does not contain a -L/usr/local/lib option.
>How-To-Repeat:
Try to build the icewm-1.2.7 port.

===>  Building for icewm-1.2.7
gmake[1]: Entering directory `/usr/ports/x11-wm/icewm/work/icewm-1.2.7/src'
Compiling ymsgbox.o...
In file included from ymsgbox.cc:20:
intl.h:7: libintl.h: No such file or directory
In file included from ymsgbox.cc:17:
wmframe.h: In method `bool YFrameWindow::isFullscreen() const':
wmframe.h:347: warning: can't inline call to `long int YFrameWindow::getState() const'
wmframe.h:263: warning: called from here
ymsgbox.cc: In method `YMsgBox::YMsgBox(int, YWindow * = 0)':
ymsgbox.cc:34: warning: implicit declaration of function `int gettext(...)'
ymsgbox.cc:34: no matching function for call to `YActionButton::setText (int)'
ybutton.h:24: candidates are: void YButton::setText(const char *, int = -1)
ymsgbox.cc:42: no matching function for call to `YActionButton::setText (int)'
ybutton.h:24: candidates are: void YButton::setText(const char *, int = -1)
gmake[1]: *** [ymsgbox.o] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-wm/icewm/work/icewm-1.2.7/src'
gmake: *** [base] Error 2
*** Error code 2

Stop in /usr/ports/x11-wm/icewm.

>Fix:
I'm not sure about the mechanism that the icewm configure script uses
to construct the compilation variables, so I simply hack the Makefiles
after the configure stage, and manually add -I/usr/local/include en
-L/usr/local/lib.  How this is done properly with the autoconf stuff
is quite beyond me. :)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list