porting minisip SIP softphone

Erik Norgaard norgaard at locolomo.org
Sun Oct 17 11:44:52 PDT 2004


Hi,

I found this project on freshmeat: minisip (www.minisip.org) a SIP
softphone which implements extra security with MIKEY and SRTP protocols.
These are yet IETF I-D.

So I decided to try to port the app to FreeBSD. The base development
platform is debian/Linux, gcc 3.3, libtool 1.5.6 and gmake 3.80. I am
using FreeBSD 6.0-CURRENT, gcc 3.4, libtool 1.5.8 and gmake 3.80.

Now, I am not an experienced porter - in fact this is the first time I
try. I've read the porters-handbook, looked in bsd.port.mk and various
makefiles. - so far so good. Now comes the question - sorry if this is
trivial :-)

The project contains four libraries and the main program: libmutil,
libmnetutil, libmikey, libmsip and minisip.

I have ported and installed libmutil(?). It installs some libraries in
/usr/local/lib and header files in /usr/local/include/libmutil. I am now
working on libmnetutil.

I have the problem that /usr/local/include for some reason is not
searched for header files, or the search does not descend into subdirec-
tories. This affects all the remaining parts. Any hints on how to solve
this problem?

I get:

g++ -DHAVE_CONFIG_H -I. -I. -I./include -I../include -g -O2 -MT \
   libmnetutil_la-IP4Address.lo -MD -MP -MF \
   .deps/libmnetutil_la-IP4Address.Tpo -c source/IP4Address.cxx  -fPIC \
   -DPIC -o .libs/libmnetutil_la-IP4Address.o
source/IP4Address.cxx:55:26: libmutil/itoa.h: No such file or directory

but the file /usr/local/include/libmutil/itoa.h exists. Similar errors
occurs with the other packages.

All packages comes with a configure-script

In the package' own Makefile the following is set:

DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
             $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)

Thanks, Erik

PS: If you'd like to help porting it would be great. For the libmutil,
the port is here: www.locolomo.org/src/port-libmutil.tar.gz, latest
release is available at www.minisip.org/source/ and current project
source cat be fetched with svn, svn://svn.minisip.org/var/svn/minisip

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2


More information about the freebsd-ports mailing list