Asterisk 1.2.2 on Solaris X86 (Intel)

Hi,

I see Asterisk has support for Solaris. Could anyone please verify if this includes Solaris on Intel based systems?

Thanks
Asgaroth

okay, i went ahead and started compiling, i managed to get libpri compiled and installed with no problems. asterisk compiles with no problem, however, when i run the “make install” part, i get the following output:

[code]make install
build_tools/make_version_h > include/asterisk/version.h.tmp
if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ; then echo; else
mv include/asterisk/version.h.tmp include/asterisk/version.h ;
fi

rm -f include/asterisk/version.h.tmp
if cmp -s .cleancount .lastclean ; then echo ; else
make clean; cp -f .cleancount .lastclean;
fi

build_tools/make_defaults_h > defaults.h.tmp
if cmp -s defaults.h.tmp defaults.h ; then echo ; else
mv defaults.h.tmp defaults.h ;
fi

rm -f defaults.h.tmp
for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x depend || exit 1 ; done
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/res' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/res' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/channels’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/channels’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/pbx' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/pbx' /bin/sh: [[: not found make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/apps’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/apps’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/codecs' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/codecs' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/formats’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/formats’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/agi' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/agi' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/cdr’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/cdr’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/funcs' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/funcs' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/utils’
make[1]: Nothing to be done for depend'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/utils’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/stdtime' make[1]: Nothing to be done fordepend’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/stdtime' cd editline && unset CFLAGS LIBS && test -f config.h || ./configure make -C editline libedit.a make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/editline’
make[1]: libedit.a' is up to date. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/editline’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/db1-ast' make[1]:libdb1.a’ is up to date.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/db1-ast' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/stdtime’
make[1]: libtime.a' is up to date. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/stdtime’
for x in res channels pbx apps codecs formats agi cdr funcs utils stdtime; do make -C $x || exit 1 ; done
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/res' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/res' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/channels’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/channels’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/pbx' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/pbx' /bin/sh: [[: not found make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/apps’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/apps’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/codecs' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/codecs' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/formats’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/formats’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/agi' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/agi' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/cdr’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/cdr’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/funcs' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/funcs' make[1]: Entering directory/data/source/asterisk_1.2.2/asterisk-1.2.2/utils’
make[1]: Nothing to be done for all'. make[1]: Leaving directory/data/source/asterisk_1.2.2/asterisk-1.2.2/utils’
make[1]: Entering directory /data/source/asterisk_1.2.2/asterisk-1.2.2/stdtime' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /data/source/asterisk_1.2.2/asterisk-1.2.2/stdtime' if [ xwhoami= xroot ]; then sh mkpkgconfig /tmp/asterisk/usr/lib/pkgconfig; fi mkdir -p /tmp/asterisk/opt/asterisk/var/opt/asterisk/lib/sounds/digits mkdir -p /tmp/asterisk/opt/asterisk/var/opt/asterisk/lib/sounds/priv-callerintros for x in sounds/digits/*.gsm; do \ if /usr/xpg4/bin/grep -q "^%basename $x`%" sounds.txt; then
install -m 644 ./$x /tmp/asterisk/opt/asterisk/var/opt/asterisk/lib/sounds/digits ;
else
echo “No description for $x”;
exit 1;
fi;
done
install: 0.gsm was not found anywhere!
install: 1.gsm was not found anywhere!
install: 10.gsm was not found anywhere!
install: 11.gsm was not found anywhere!
install: 12.gsm was not found anywhere!
install: 13.gsm was not found anywhere!
install: 14.gsm was not found anywhere!
install: 15.gsm was not found anywhere!
install: 16.gsm was not found anywhere!
install: 17.gsm was not found anywhere!
install: 18.gsm was not found anywhere!
install: 19.gsm was not found anywhere!
install: 2.gsm was not found anywhere!
install: 20.gsm was not found anywhere!
install: 3.gsm was not found anywhere!
install: 30.gsm was not found anywhere!
install: 4.gsm was not found anywhere!
install: 40.gsm was not found anywhere!
install: 5.gsm was not found anywhere!
install: 50.gsm was not found anywhere!
install: 6.gsm was not found anywhere!
install: 60.gsm was not found anywhere!
install: 7.gsm was not found anywhere!
install: 70.gsm was not found anywhere!
install: 8.gsm was not found anywhere!
install: 80.gsm was not found anywhere!
install: 9.gsm was not found anywhere!
install: 90.gsm was not found anywhere!
install: a-m.gsm was not found anywhere!
install: at.gsm was not found anywhere!
install: day-0.gsm was not found anywhere!
install: day-1.gsm was not found anywhere!
install: day-2.gsm was not found anywhere!
install: day-3.gsm was not found anywhere!
install: day-4.gsm was not found anywhere!
install: day-5.gsm was not found anywhere!
install: day-6.gsm was not found anywhere!
install: dollars.gsm was not found anywhere!
install: h-1.gsm was not found anywhere!
install: h-10.gsm was not found anywhere!
install: h-11.gsm was not found anywhere!
install: h-12.gsm was not found anywhere!
install: h-13.gsm was not found anywhere!
install: h-14.gsm was not found anywhere!
install: h-15.gsm was not found anywhere!
install: h-16.gsm was not found anywhere!
install: h-17.gsm was not found anywhere!
install: h-18.gsm was not found anywhere!
install: h-19.gsm was not found anywhere!
install: h-2.gsm was not found anywhere!
install: h-20.gsm was not found anywhere!
install: h-3.gsm was not found anywhere!
install: h-30.gsm was not found anywhere!
install: h-4.gsm was not found anywhere!
install: h-5.gsm was not found anywhere!
install: h-6.gsm was not found anywhere!
install: h-7.gsm was not found anywhere!
install: h-8.gsm was not found anywhere!
install: h-9.gsm was not found anywhere!
install: hundred.gsm was not found anywhere!
install: million.gsm was not found anywhere!
install: minus.gsm was not found anywhere!
install: mon-0.gsm was not found anywhere!
install: mon-1.gsm was not found anywhere!
install: mon-10.gsm was not found anywhere!
install: mon-11.gsm was not found anywhere!
install: mon-2.gsm was not found anywhere!
install: mon-3.gsm was not found anywhere!
install: mon-4.gsm was not found anywhere!
install: mon-5.gsm was not found anywhere!
install: mon-6.gsm was not found anywhere!
install: mon-7.gsm was not found anywhere!
install: mon-8.gsm was not found anywhere!
install: mon-9.gsm was not found anywhere!
install: oclock.gsm was not found anywhere!
install: oh.gsm was not found anywhere!
install: p-m.gsm was not found anywhere!
install: pound.gsm was not found anywhere!
install: star.gsm was not found anywhere!
install: thousand.gsm was not found anywhere!
install: today.gsm was not found anywhere!
install: tomorrow.gsm was not found anywhere!
install: yesterday.gsm was not found anywhere!
make: *** [datafiles] Error 2[/code]

Your help would be greatly appreciated in solving this, i’m so close yet soo far away :frowning:

Hi All,

Any ideas? Any devs out there that could help me? Can anyone confirm that they have managed to install asterisk 1.2.2 on a solaris 10 for intel?

Thanks
Asgaroth

Have you tried posting this to the Digium Issue Tracker? You might get a faster response this way since it does in fact look like a bug.

Digium Issue Tracker

If I remember correctly the standard Solaris install gives you this error.
Try using the /usr/ucb/install instead.

Setting /usr/ucb 1st in the path corrects the mumble.gsm not found error but breaks other things.

Best change is to change the install program used. Diffs of my makefile from the original follow

con# diff Makefile Makefile.orig
285d284
< INSTALL=/usr/ucb/install
293c292
< LIBS+=-lpthread -lm -lresolv

LIBS+=-lpthread -lncurses -lm -lresolv
360,361c359
< # LIBS+=-ldl -lpthread -lncurses -lm -lresolv #-lnjamd
< LIBS+=-ldl -lpthread -lm -lresolv #-lnjamd


LIBS+=-ldl -lpthread -lncurses -lm -lresolv #-lnjamd
363,364c361
< # LIBS+=-lncurses -lm
< LIBS+=-lm


LIBS+=-lncurses -lm
413d409
< ifneq ($(OSARCH),SunOS)
415d410
< endif
525c520
< $(CC) $(DEBUG) $(ASTOBJ) $(ASTLINK) $(OBJS) buildinfo.o $(LIBEDIT) /usr/local/lib/libncurses.a db1-ast/libdb1.a stdtime/libtime.a $(LIBS)


  $(CC) $(DEBUG) $(ASTOBJ) $(ASTLINK) $(OBJS) buildinfo.o $(LIBEDIT) db1-ast/libdb1.a stdtime/libtime.a $(LIBS)