[asterisk-dev] Asterisk --with-misdn=/a/custom/path
Philipp Kempgen
philipp.kempgen at amooma.de
Tue Feb 5 07:59:20 CST 2008
Hi,
I'm trying to ./configure Asterisk with misdn which is installed
in a path other than the normal file system root. - Installed with
make install \
INSTALL_PREFIX=/long/path/misdn-DESTDIR \
DESTDIR=/long/path/misdn-DESTDIR
In Asterisk's sources:
./configure \
--with-misdn=/long/path/misdn-DESTDIR/usr \
--with-isdnnet=/long/path/misdn-DESTDIR/usr \
--with-suppserv=/long/path/misdn-DESTDIR/usr
Sidenote: The explanation from ./configure --help
---cut---
--with-misdn=PATH use mISDN User Library files in PATH
---cut---
is a bit misleading. mISDNuser *and mISDN* must share the same
path.
Well, the ./configure works fine:
---cut---
checking for mISDN_open in -lmISDN... yes
checking /long/path/misdn-DESTDIR/usr/include/mISDNuser/mISDNlib.h usability... yes
checking /long/path/misdn-DESTDIR/usr/include/mISDNuser/mISDNlib.h presence... yes
checking for /long/path/misdn-DESTDIR/usr/include/mISDNuser/mISDNlib.h... yes
checking for init_manager in -lisdnnet... yes
checking /long/path/misdn-DESTDIR/usr/include/mISDNuser/isdn_net.h usability... yes
checking /long/path/misdn-DESTDIR/usr/include/mISDNuser/isdn_net.h presence... yes
checking for /long/path/misdn-DESTDIR/usr/include/mISDNuser/isdn_net.h... yes
checking for encodeFac in -lsuppserv... yes
checking /long/path/misdn-DESTDIR/usr/include/mISDNuser/suppserv.h usability... yes
checking /long/path/misdn-DESTDIR/usr/include/mISDNuser/suppserv.h presence... yes
checking for /long/path/misdn-DESTDIR/usr/include/mISDNuser/suppserv.h... yes
checking linux/mISDNdsp.h usability... no
checking linux/mISDNdsp.h presence... no
checking for linux/mISDNdsp.h... no
---cut---
However make all does not work:
---cut---
[CC] chan_misdn.c -> chan_misdn.o
[CC] misdn/isdn_lib.c -> misdn/isdn_lib.o
misdn/isdn_lib.c:16:34: warning: mISDNuser/isdn_debug.h: No such file or directory
In file included from misdn/isdn_lib.c:18:
misdn/isdn_lib_intern.h:5:32: warning: mISDNuser/mISDNlib.h: No such file or directory
misdn/isdn_lib_intern.h:6:32: warning: mISDNuser/isdn_net.h: No such file or directory
misdn/isdn_lib_intern.h:7:30: warning: mISDNuser/l3dss1.h: No such file or directory
misdn/isdn_lib_intern.h:8:30: warning: mISDNuser/net_l3.h: No such file or directory
In file included from misdn/isdn_lib_intern.h:12,
from misdn/isdn_lib.c:18:
misdn/isdn_lib.h:17:32: warning: mISDNuser/suppserv.h: No such file or directory
In file included from misdn/isdn_lib_intern.h:12,
from misdn/isdn_lib.c:18:
misdn/isdn_lib.h:274: error: field 'fac_in' has incomplete type
---cut---
What's wrong? mISDNuser/isdn_debug.h *is* in
/long/path/misdn-DESTDIR/usr/include/mISDNuser/isdn_debug.h
Regards,
Philipp Kempgen
More information about the asterisk-dev
mailing list