Closed
Bug 5248
Opened 26 years ago
Closed 26 years ago
make export in xpidl ignores GLIB_CONFIG and LIBIDL_CONFIG
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: newt, Assigned: vidur)
Details
I have built and installed glib, gtk+, nspr3, libIDL in a slightly strange
directory (/usr/local/experimental); with environment variables it survives
"configure --with-nspr=/usr/local/experimental --enable-debug" OK but barfs on
the new xpidl stuff, which is apparently hardcoded to assume glib-config and
libIDL-config are in my path (which is not true):
cd xpidl; make export
make[3]: Entering directory `/util/www/mozilla/xpcom/tools/xpidl'
Creating .deps
make[3]: glib-config: Command not found
X5 @X5 @make[3]: libIDL-config: Command not found
X5 @X5 @gcc -o xpidl.o -c -Wall -pipe -Wp,-MD,.deps/xpidl.pp -include
../../../config-defs.h -g -fPIC -DDEBUG -UNDEBUG -DDEBUG_roelofs -DTRACING
-DOSTYPE=\"Linux2.0\" -DSingleSignon -DCookieManagement -DClientWallet
-I../../../dist/./include -I../../../dist/include -I../../../include
-I/usr/local/experimental/include -I../../../dist/./public/jpeg
-I../../../dist/./public/png xpidl.c
In file included from xpidl.h:32,
from xpidl.c:23:
/usr/local/experimental/include/glib.h:66: glibconfig.h: No such file or
directory
[and many subsequent errors]
Here's a patch (configure is already set up correctly):
--- Makefile.in.stock Sun Apr 18 11:03:01 1999
+++ Makefile.in Sun Apr 18 12:06:56 1999
@@ -35,15 +35,13 @@
include $(topsrcdir)/config/config.mk
-# XXX replace with proper configure test for glib
-CFLAGS += $(shell glib-config --cflags) $(shell libIDL-config --cflags)
+CFLAGS += $(shell @GLIB_CONFIG@ --cflags) $(shell @LIBIDL_CONFIG@ --cflags)
-# seperate out to get dependancies right
+# separate out to get dependencies right
LIBXPT=$(DIST)/lib/libxpt.a
-# XXX need configure test
-EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(shell glib-config --libs) \
- $(shell libIDL-config --libs)
+EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(shell @GLIB_CONFIG@ --libs) \
+ $(shell @LIBIDL_CONFIG@ --libs)
PROGS = $(OBJDIR)/xpidl
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Comment 1•26 years ago
|
||
Checked in the patch. Thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•