Philipp Marek schrieb:
> On Friday 07 December 2007 Alexander Skwar wrote:
> ...
>> They have. Without LDFLAGS/CPPFLAGS and/or --with-..., configure
>> "fails", as the header files cannot be found.
>>
>>> Could you send me the output of
>>>     diff -u src/Makefile.in src/Makefile
>>>
>>> please?
>> Sure. It's attached.
> You're using gcc, and it gets 
>       CFLAGS:= ... -idirafter /opt/csw/apache2/include
> Why doesn't it find the files?
> 
> What happens if you change all "-idirafter" to "-I"?

Same problem :(

--($:~/Source/fsvs)-- diff -u src/Makefile.in src/Makefile
--- src/Makefile.in     2007-11-08 10:13:25.000000000 +0100
+++ src/Makefile        2007-12-07 13:39:12.806144000 +0100
@@ -15,19 +15,19 @@
 HEADREV        := "$Revision: 1124 $"
 VERSION        = $(shell  perl -e '($$r) = (q( $(HEADREV) ) =~ m:(\d+):); $$t= 
q( $(HEADURL) ) =~ m:/tags/([^/]+): ? $$1 : "trunk"; print "$$t:$$r\n";' )

-CFLAGS := @CFLAGS@
+CFLAGS := -g -O2 -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/usr/local/include 
-I/usr/include -I/openpkg/include -I/opt/csw/apache2/include 
-I/opt/csw/include/subversion-1 -I/opt/csw/include/subversion-1
 CFLAGS += -Wall -funsigned-char -Os -DFSVS_VERSION='"$(VERSION)"'
-LDFLAGS        := @LDFLAGS@
+LDFLAGS        := -L/opt/csw/lib -L/opt/csw/apache2/lib -L/opt/csw/lib/svn 
-L/usr/local/lib -L/openpkg/lib -L/opt/csw/apache2/lib -L/opt/csw/lib/svn
 FSVS_LDFLAGS = $(LDFLAGS) -lsvn_subr-1 -lsvn_ra-1 -lsvn_client-1 -lpcre -lgdbm
[...]


BTW: Why is there a -I/openpkg/include and -L/openpkg/lib?
Those directories don't exist on my system.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to