Skip Menu |

This queue is for tickets about the XML-GDOME CPAN distribution.

Report information
The Basics
Id: 7273
Status: new
Priority: 0/
Queue: XML-GDOME

People
Owner: Nobody in particular
Requestors: mobernard [...] easyconnect.fr
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.86
Fixed in: (no value)



Subject: Makefile.PL don't catch glib headers
The Makefile produced by Makefile.PL using gdome-config doesn't have /usr/include/glib-1.2 /usr/lib/glib/include at INC definition. I get the wrong file Makefile.nok i have to transform in Makefile, with diff Makefile.nok Makefile.ok 118c118 < INC = -I/usr/include -I/usr/include/libgdome -I/usr/include/libxml2 --- Show quoted text
> INC = -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include -I/usr/include/libgdome -I/usr/include/libxml2
I don't know if it is a bug from Makefile.PL or gdome-config. []perl Makefile.PL running gdome-config... /usr/bin/gdome-config: line 1: --libs: command not found /usr/bin/gdome-config: line 1: --cflags: command not found /usr/bin/gdome-config: line 1: --libs: command not found /usr/bin/gdome-config: line 1: --cflags: command not found ok Writing Makefile for XML::GDOME []gdome-config --cflags /usr/bin/gdome-config: line 1: --libs: command not found /usr/bin/gdome-config: line 1: --cflags: command not found -I/usr/include -I/usr/include/libgdome -I/usr/include/libxml2 Maybe you should also add another verification in Makefile.PL: if ($config{INC} !~ /-I\/usr\/include\/glib-1.2/) { $config{INC} .= ' -I/usr/include/glib-1.2'; } if ($config{INC} !~ /-I\/usr\/lib\/glib\/include/) { $config{INC} .= ' -I/usr/lib/glib/include'; } I got it work like that. System: RedHat 9 gdome2-0.8.1-1 libxml2-2.6.11-1 Marc-Olivier BERNARD