[Asterisk-Dev] Gnophone Mandrake 9.2 Mozilla 1.4

Gary Ruddock garyruddock at hotmail.com
Tue Feb 3 18:32:29 MST 2004


Could anyone please help? I am getting nowhere.

I am trying and failing to get gnophone running on mandrake 9.2 with mozilla 
1.4

Has anyone done this yet?

I want to use the gnophone mozilla interface. I had to modify the configure 
file to remove an if check as I could not find embed.jar on my computer.

if test HASMOZILLA=yes ; then

        echo -n "searching for mozilla home ... "

#       if test -f "$MOZILLA_HOME_DIR/chrome/embed.jar" ; then
                echo "$MOZILLA_HOME_DIR"

                MODULES="$MODULES html-mozilla.so"

                MOZILLALIBS="-L$MOZILLA_LIB_DIR -L$MOZILLA_LIB_DIR/dist/lib 
-lgtkembedmoz -lgtksuperwin -lplds4
-lplc4 -lnspr4 -lxpcom"

                LIBS="$LIBS -lpthread"






#       else
#               echo "not found. Try using --with-mozilla-home"
#       fi
fi


but when i run configure  and then make i get errors

[root at wwwswiftdrinkscom gnophone]# ./configure 
--with-mozilla-include=/usr/include/mozilla-1.4 
--with-mozilla-home=/usr/lib/mozilla-1.4 
--with-mozilla-lib=/usr/lib/mozilla-1.4

loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for in_addr_t... yes
checking for glib-config... (cached) /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gnophone... (cached) /usr/local/bin/gnophone
checking for imlib-config... (cached) /usr/bin/imlib-config
checking for iax-config... (cached) /usr/bin/iax-config
checking for IAX - version >= 0.2.1... yes
checking for gsm.h... (cached) yes
checking for main in -lgsm... (cached) yes
checking for esd-config... (cached) /usr/bin/esd-config
checking for ESD - version >= 0.2.7... yes
checking for main in -lzap... (cached) no
checking for main in -ltonezone... (cached) no
checking for sys/soundcard.h... (cached) yes
checking for linux/telephony.h... (cached) yes
checking for PR_Init in -lnspr4... (cached) yes
checking for PL_strcmp in -lplc4... (cached) yes
checking for PL_NewHashTable in -lplds4... (cached) yes
checking for main in -lgtksuperwin... (cached) yes
checking for main in -lgtkembedmoz... (cached) yes
checking for gtkmozembed.h... yes
searching for mozilla home ... /usr/lib/mozilla-1.4
creating ./config.status
creating Makefile
creating src/Makefile
creating src/modules/Makefile
creating icons/Makefile
creating images/Makefile
creating sounds/Makefile
creating scripts/Makefile
creating scripts/gnophone
creating m4/Makefile
creating gnophone.spec
creating config.h
[root at wwwswiftdrinkscom gnophone]#
[root at wwwswiftdrinkscom gnophone]#
[root at wwwswiftdrinkscom gnophone]# make
make  all-recursive
make[1]: Entering directory `/root/gnophone'
Making all in m4
make[2]: Entering directory `/root/gnophone/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gnophone/m4'
Making all in scripts
make[2]: Entering directory `/root/gnophone/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gnophone/scripts'
Making all in sounds
make[2]: Entering directory `/root/gnophone/sounds'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -DHAS_IN_ADDR_T 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-D_REENTRANT -I/usr/X11R6/include  -I/usr/include/mozilla-1.4 
-I/usr/include/mozilla-1.4/gtkembedmoz 
-I/usr/include/mozilla-1.4/dist/include -c raw2h.c
raw2h.c:32:1: missing terminating " character
raw2h.c: In function `main':
raw2h.c:33: error: `Signed' undeclared (first use in this function)
raw2h.c:33: error: (Each undeclared identifier is reported only once
raw2h.c:33: error: for each function it appears in.)
raw2h.c:33: error: syntax error before numeric constant
raw2h.c:44:1: missing terminating " character
raw2h.c:45: error: syntax error before ')' token
raw2h.c: At top level:
raw2h.c:50: error: syntax error before string constant
raw2h.c:50: warning: conflicting types for built-in function `fprintf'
raw2h.c:50: warning: data definition has no type or storage class
make[2]: *** [raw2h.o] Error 1
make[2]: Leaving directory `/root/gnophone/sounds'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnophone'
make: *** [all-recursive-am] Error 2


even when i disable mozilla i get errors

./configure --disable-mozilla
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for working const... (cached) yes
checking for in_addr_t... yes
checking for glib-config... (cached) /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gnophone... (cached) /usr/local/bin/gnophone
checking for imlib-config... (cached) /usr/bin/imlib-config
checking for iax-config... (cached) /usr/bin/iax-config
checking for IAX - version >= 0.2.1... yes
checking for gsm.h... (cached) yes
checking for main in -lgsm... (cached) yes
checking for esd-config... (cached) /usr/bin/esd-config
checking for ESD - version >= 0.2.7... yes
checking for main in -lzap... (cached) no
checking for main in -ltonezone... (cached) no
checking for sys/soundcard.h... (cached) yes
checking for linux/telephony.h... (cached) yes
*****************************************************
You have requested to disable the built in mozilla
interface. Please note that this is NOT a recommended
suggestion. You will not be able to take advantage of
several of gnophone's features, including user registration
wich is required for full gnophone usage. Please reconsider
this action.
*****************************************************
creating ./config.status
creating Makefile
creating src/Makefile
creating src/modules/Makefile
creating icons/Makefile
creating images/Makefile
creating sounds/Makefile
creating scripts/Makefile
creating scripts/gnophone
creating m4/Makefile
creating gnophone.spec
creating config.h
[root at wwwswiftdrinkscom gnophone]# make
make  all-recursive
make[1]: Entering directory `/root/gnophone'
Making all in m4
make[2]: Entering directory `/root/gnophone/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gnophone/m4'
Making all in scripts
make[2]: Entering directory `/root/gnophone/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gnophone/scripts'
Making all in sounds
make[2]: Entering directory `/root/gnophone/sounds'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -DHAS_IN_ADDR_T 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-D_REENTRANT -I/usr/X11R6/include  -c raw2h.c
raw2h.c:32:1: missing terminating " character
raw2h.c: In function `main':
raw2h.c:33: error: `Signed' undeclared (first use in this function)
raw2h.c:33: error: (Each undeclared identifier is reported only once
raw2h.c:33: error: for each function it appears in.)
raw2h.c:33: error: syntax error before numeric constant
raw2h.c:44:1: missing terminating " character
raw2h.c:45: error: syntax error before ')' token
raw2h.c: At top level:
raw2h.c:50: error: syntax error before string constant
raw2h.c:50: warning: conflicting types for built-in function `fprintf'
raw2h.c:50: warning: data definition has no type or storage class
make[2]: *** [raw2h.o] Error 1
make[2]: Leaving directory `/root/gnophone/sounds'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnophone'
make: *** [all-recursive-am] Error 2
[root at wwwswiftdrinkscom gnophone]#

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger




More information about the asterisk-dev mailing list