Opened 19 years ago

Closed 19 years ago

#4994 closed defect (invalid)

BUG: libintl.h included but not there

Reported by: schmidt_r@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

/opt/local/include/glib-2.0/glib/gi18n-lib.h references through an include

<snip>

In file included from dirbrowser.c:28: /opt/local/include/glib-2.0/glib/gi18n-lib.h:24:21: error: libintl.h: No such file or directory make[2]: * [dirbrowser.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

</snip>

Change History (7)

comment:1 Changed 19 years ago by toby@…

Component: basedports

Please include the output of 'port -d install glib2' (or whatever port you're trying to build, it's not clear).

comment:2 Changed 19 years ago by schmidt_r@…

I tried to compile beep-media-player from source, because I couldn't find it in darwin ports. For a quick and dirty solution I edited gi18n-lib.h and gave the full path of libintl.h. This worked for me. After discussion with a friend I'm not shure, if this is really a problem with dp because other apps (not all) installed fine. Maybe you know more.

comment:3 Changed 19 years ago by darwin@…

I'm getting this bug too trying to port libgpod.

comment:4 Changed 19 years ago by toby@…

In case you missed it the first time...

Please include the output of 'port -d install glib2' (or whatever port you're trying to build, it's not clear).

comment:5 Changed 19 years ago by schmidt_r@…

I did not try to build a (darwin) port. Like I already said I tried to compile beep-media-player. The error included in the first post to this report is all I can give you.

comment:6 Changed 19 years ago by mww@…

Summary: libintl.h included but not thereBUG: libintl.h included but not there

what about - instead of hardcoding the path to a header file (ugh) - just providing the path to the header files via CFLAGS/CPPFLAGS and LDFLAGS for the libs?

comment:7 Changed 19 years ago by olegb@…

Resolution: invalid
Status: newclosed

This is not a DarwinPorts problem

and btw:

m00:~ olegb$ port provides /opt/local/include/libintl.h /opt/local/include/libintl.h is provided by: gettext-0.14.5-0

Note: See TracTickets for help on using tickets.