I'm running FreeBSD aaopwner.com 6.1-BETA1 FreeBSD 6.1-BETA1 #0: Wed Feb 1 21:59:39 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
It seems to be a problem with liblang or newt. Someone help please. When compiling Asterisk via the FreeBSD ports it says... -------------------------------------------------------------------------------------------------------------------------- # [EMAIL PROTECTED] /usr/ports/net/asterisk]# make install # ===> asterisk-1.2.9.1_2 depends on executable: mpg123 - found # ===> asterisk-1.2.9.1_2 depends on package: libpri>=1.2.0 - found # ===> asterisk-1.2.9.1_2 depends on file: /usr/local/include/zaptel.h - not found # ===> Verifying install for /usr/local/include/zaptel.h in /usr/ports/misc/zaptel # ===> zaptel-1.0 depends on shared library: newt.51 - not found # ===> Verifying install for newt.51 in /usr/ports/devel/newt # ===> Building for newt-0.51.0_3 # cc -g -L/usr/local/lib -L/usr/local/lib -o test test.o libnewt.a -lslang -lm -lpopt -lncurses -static # /usr/bin/ld: cannot find -lslang # *** Error code 1 # # Stop in /usr/ports/devel/newt/work/newt-0.51.0. # *** Error code 1 # # Stop in /usr/ports/devel/newt. # *** Error code 1 # # Stop in /usr/ports/misc/zaptel. # *** Error code 1 # # Stop in /usr/ports/net/asterisk. # [EMAIL PROTECTED] /usr/ports/net/asterisk]# make install # ===> asterisk-1.2.9.1_2 depends on executable: mpg123 - found # ===> asterisk-1.2.9.1_2 depends on package: libpri>=1.2.0 - found # ===> asterisk-1.2.9.1_2 depends on file: /usr/local/include/zaptel.h - not found # ===> Verifying install for /usr/local/include/zaptel.h in /usr/ports/misc/zaptel # ===> zaptel-1.0 depends on shared library: newt.51 - not found # ===> Verifying install for newt.51 in /usr/ports/devel/newt # ===> Building for newt-0.51.0_3 # cc -g -L/usr/local/lib -L/usr/local/lib -o test test.o libnewt.a -lslang -lm -lpopt -lncurses -static # /usr/bin/ld: cannot find -lslang # *** Error code 1 # # Stop in /usr/ports/devel/newt/work/newt-0.51.0. # *** Error code 1 # # Stop in /usr/ports/devel/newt. # *** Error code 1 # # Stop in /usr/ports/misc/zaptel. # *** Error code 1 # # Stop in /usr/ports/net/asterisk. # [EMAIL PROTECTED] /usr/ports/net/asterisk]# cd /usr/ports/devel/newt # [EMAIL PROTECTED] /usr/ports/devel/newt]# make install # ===> Building for newt-0.51.0_3 # cc -g -L/usr/local/lib -L/usr/local/lib -o test test.o libnewt.a -lslang -lm -lpopt -lncurses -static # /usr/bin/ld: cannot find -lslang # *** Error code 1 # # Stop in /usr/ports/devel/newt/work/newt-0.51.0. # *** Error code 1 # # Stop in /usr/ports/devel/newt. # [EMAIL PROTECTED] /usr/ports/devel/newt]# make # ===> Building for newt-0.51.0_3 # cc -g -L/usr/local/lib -L/usr/local/lib -o test test.o libnewt.a -lslang -lm -lpopt -lncurses -static # /usr/bin/ld: cannot find -lslang # *** Error code 1 # # Stop in /usr/ports/devel/newt/work/newt-0.51.0. # *** Error code 1 # # Stop in /usr/ports/devel/newt. # [EMAIL PROTECTED] /usr/ports/devel/newt]# cd /usr/ports/devel/newt/work/newt-0.51.0 # [EMAIL PROTECTED] /usr/ports/devel/newt/work/newt-0.51.0]# make instal # make: don't know how to make instal. Stop # [EMAIL PROTECTED] /usr/ports/devel/newt/work/newt-0.51.0]# make install # cc -O2 -fno-strict-aliasing -pipe -I/include -I/include -fPIC -DVERSION=\"0.51.0\" -c -o newt.So newt.c # newt.c:3:19: slang.h: No such file or directory # newt.c:23: error: syntax error before "SLsmg_Char_Type" # newt.c: In function `newtInit': # newt.c:240: error: `SLtt_Use_Ansi_Colors' undeclared (first use in this function) # newt.c:240: error: (Each undeclared identifier is reported only once # newt.c:240: error: for each function it appears in.) # newt.c:257: error: `SLang_getkey_intr_hook' undeclared (first use in this function) # newt.c: In function `newtFinished': # newt.c:265: error: `SLtt_Screen_Rows' undeclared (first use in this function) # newt.c: In function `newtOpenWindow': # newt.c:432: error: structure has no member named `buffer' # newt.c:432: error: `SLsmg_Char_Type' undeclared (first use in this function) # newt.c:441: error: `SLtt_Screen_Cols' undeclared (first use in this function) # newt.c:443: error: `SLtt_Screen_Rows' undeclared (first use in this function) # newt.c:448: error: structure has no member named `buffer' # newt.c:463: error: `SLSMG_RTEE_CHAR' undeclared (first use in this function) # newt.c:471: error: `SLSMG_LTEE_CHAR' undeclared (first use in this function) # newt.c: In function `newtCenteredWindow': # newt.c:493: error: `SLtt_Screen_Rows' undeclared (first use in this function) # newt.c:498: error: `SLtt_Screen_Cols' undeclared (first use in this function) # newt.c: In function `newtPopWindow': # newt.c:519: error: structure has no member named `buffer' # newt.c:524: error: structure has no member named `buffer' # newt.c: In function `newtRedrawHelpLine': # newt.c:633: error: `SLtt_Screen_Cols' undeclared (first use in this function) # newt.c:643: error: `SLtt_Screen_Rows' undeclared (first use in this function) # newt.c: In function `newtDrawRootText': # newt.c:677: error: `SLtt_Screen_Cols' undeclared (first use in this function) # newt.c:681: error: `SLtt_Screen_Rows' undeclared (first use in this function) # newt.c: In function `newtGetScreenSize': # newt.c:710: error: `SLtt_Screen_Rows' undeclared (first use in this function) # newt.c:711: error: `SLtt_Screen_Cols' undeclared (first use in this function) # newt.c: In function `newtTrashScreen': # newt.c:735: error: `SLtt_Screen_Rows' undeclared (first use in this function) # *** Error code 1 -------------------------------------------------------------------------------------------------------------------------- also when i try to compile it from the source it says: [EMAIL PROTECTED] /hd1/asterisk/asterisk-1.2.12.1]# make "Makefile", line 28: Missing dependency operator "Makefile", line 32: Need an operator "Makefile", line 35: Need an operator Error expanding embedded variable. [EMAIL PROTECTED] /hd1/asterisk/asterisk-1.2.12.1]# _______________________________________________ Asterisk-BSD mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-bsd

