Good day, worthy hackers. In a nutshell: I'm trying to port ipsec-tools. After satisfying a set of build-dependencies and dancing around a few more by selectively mangling build scripts, I'm a bit stumped. After all the efforts, it is ipsec-tools package itself that fails to build, which I can't help but appreciate with certain sense of irony.
Actually I am fairly certain I have pinpointed the reason and would like a few hints as to how to progress in fixing it: path to 'ipsec-tools-$VERSION/src/racoon/missing' is defined wrong. See below. (Note: happens identically in both 1.1rc5 and 1.1 release) * In succesful build, on regular Debian host system: (from src/Makefile) srcdir = . top_srcdir = .. ... CPPFLAGS = -D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -I./src/include-glibc -I./${top_srcdir}/src/racoon/missing ^^^^^^^^^^^^^^^^^ `-- expands correctly Build works as it should. * In maemo scratchbox: (from src/Makefile) srcdir = /home/bostik/debs/ipsec-tools-0.6.3/src top_srcdir = /home/bostik/debs/ipsec-tools-0.6.3 ... CPPFLAGS = -D_GNU_SOURCE -include /home/bostik/debs/ipsec-tools-0.6.3/src/include-glibc/glibc-bugs.h -I/home/bostik/debs/ipsec-tools-0.6.3/src/include-glibc -I./src/include-glibc -I./${top_srcdir}/src/racoon/missing ^^^^^^^^^^^^^^^^ `-- expands wrong (from build) i386-linux-gcc -DHAVE_CONFIG_H -I. -I/home/bostik/debs/ipsec-tools-0.6.3/src/racoon -I../.. -I/home/bostik/debs/ipsec-tools-0.6.3/src/racoon/../libipsec -D_GNU_SOURCE -include /home/bostik/debs/ipsec-tools-0.6.3/src/include-glibc/glibc-bugs.h -I/home/bostik/debs/ipsec-tools-0.6.3/src/include-glibc -I./src/include-glibc -I.//home/bostik/debs/ipsec-tools-0.6.3/src/racoon/missing -D_GNU_SOURCE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `-- This should be really '..' ...which naturally fails since .// is same as ./ This appears to be some kind of freakish way autotools actually work within scratchbox. - Why do autotools work this differently? - Any hints how to go about fixing this? My knowledge of autotools' internals is very limited, and I am the first to confess that I know them just enough to know that I can not be said to like them. So far I've managed to steer mostly clear of them. I am quite ready to shoulder the brunt work, but I need a helpful pointer or three as to where I need to dig, and how big a shovel is required. Thank you all, -- Mika Boström \-/ "World peace will be achieved [EMAIL PROTECTED] X when the last man has killed +358 40 759 0016 /-\ the second-to-last." -anon?
signature.asc
Description: Digital signature
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers