<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
Seems the Solaris sed does not have the -i option ( which is used
to edit some files in place to change the installation path ) -
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/4121711/sed-i-option-is-not-working-on-solaris">http://stackoverflow.com/questions/4121711/sed-i-option-is-not-working-on-solaris</a>
, seems that this is just a GNU sed feature.<br>
<br>
Will try to do a work around for this.<br>
<br>
Best Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
On 21.01.2014 10:19, Nathaniel L Keeling III wrote:<br>
</div>
<blockquote cite="mid:52DE2D9B.7050308@akan-tech.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hello,<br>
<br>
I currently have versions 5.9 rev=2011.11.21 of libncurses
development installed. I also, just for experimentation, changed
the Makefile for menuconfig to -lcurses and tried to compiled.
This changed allowed menuconfig to compile and display the menu
but when I tried to compile opensips this is the error that I
get:<br>
<br>
</tt><tt><small><small>gcc -g -Wall
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\"
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\"
-DMENUCONFIG_HAVE_SOURCES=0 -c -o items.o items.c<br>
gcc -g -Wall
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\"
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\"
-DMENUCONFIG_HAVE_SOURCES=0 -c -o commands.o commands.c<br>
gcc -g -Wall
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\"
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\"
-DMENUCONFIG_HAVE_SOURCES=0 -c -o menus.o menus.c<br>
gcc -g -Wall
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\"
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\"
-DMENUCONFIG_HAVE_SOURCES=0 -c -o parser.o parser.c<br>
gcc -g -Wall
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\"
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\"
-DMENUCONFIG_HAVE_SOURCES=0 -c -o main.o main.c<br>
gcc -o configure -g -Wall
-DMENUCONFIG_CFG_PATH=\"/opt/opensips.1.10//opensips//menuconfig_templates/\"
-DMENUCONFIG_GEN_PATH=\"/opt/opensips.1.10//etc/opensips/\"
-DMENUCONFIG_HAVE_SOURCES=0 cfg.o curses.o items.o
commands.o menus.o parser.o main.o -lcurses <br>
make[2]: Leaving directory
`/usr/local/src/opensips/opensips_1_10/menuconfig'<br>
mkdir -p /opt/opensips.1.10//opensips//menuconfig_templates/<br>
touch menuconfig/configs/*
/opt/opensips.1.10//opensips//menuconfig_templates/<br>
ginstall -m 644 menuconfig/configs/*
/opt/opensips.1.10//opensips//menuconfig_templates/<br>
sed -i -e "s#/usr/local/lib/opensips#lib64/opensips#" \<br>
/opt/opensips.1.10//opensips//menuconfig_templates/*<br>
sed: illegal option -- i<br>
make[1]: *** [opensipsmc] Error 2<br>
make[1]: Leaving directory
`/usr/local/src/opensips/opensips_1_10'</small></small></tt><tt><br>
<br>
<br>
Thanks<br>
<br>
Nathaniel<br>
<br>
</tt>
<div class="moz-cite-prefix">On 1/16/14, 4:59 AM, Vlad Paiu wrote:<br>
</div>
<blockquote cite="mid:52D7BB7D.7060802@opensips.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hello,<br>
<br>
Seems to be a linking error.<br>
<br>
Do you have libncurses dev library installed on that Solaris
machine, or just libcurses dev library ?<br>
1.10 has the old libcurses replaced with libncurses -
previously libcurses was just a sym link to libncurses but
some newer OSs started to remove the libcurses link and just
present the libncurses so.<br>
<br>
Best Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
On 16.01.2014 07:54, Nathaniel L Keeling III wrote:<br>
</div>
<blockquote cite="mid:52D77416.5070908@akan-tech.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<tt>Hello,<br>
<br>
I am trying to upgrade to Opensips 1.10 on Solaris 10. I
download the git source and ran the "make menuconfig"
command and got this error. I had no problems with Opensips
1.8 when I ran "make menuconfig".<br>
<br>
<small>make[1]: Entering directory
`/usr/local/src/opensips/opensips_1_10/menuconfig'<br>
gcc -o configure -g -Wall
-DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\"
-DMENUCONFIG_GEN_PATH=\"etc/\"
-DMENUCONFIG_HAVE_SOURCES=1 cfg.o curses.o items.o
commands.o menus.o parser.o main.o -lncurses <br>
Undefined first referenced<br>
symbol in file<br>
initscr32 main.o<br>
w32attron curses.o<br>
w32attroff curses.o<br>
ld: fatal: Symbol referencing errors. No output written to
configure<br>
make[1]: *** [all] Error 1<br>
make[1]: Leaving directory
`/usr/local/src/opensips/opensips_1_10/menuconfig'<br>
./menuconfig/configure --local<br>
make: ./menuconfig/configure: Command not found<br>
make: *** [menuconfig] Error 127</small><br>
<br>
<br>
<big>Thanks<br>
<br>
Nathaniel</big><br>
</tt> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>