[Freeswitch-users] Perl error when compiling

2009-02-16 Thread Andrea
Hi,

when y try to compiling perl module on freeswitch (from tarball 1.0.3RC1) I
have this error:

making all mod_perl
Creating mod_perl.so...
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status

Any idea?

Thank you

- Andrea -


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Perl error when compiling

2009-02-16 Thread Brian West
install gdbm-devel and db4-devel.

/b

On Feb 16, 2009, at 9:24 AM, Andrea wrote:


 making all mod_perl
 Creating mod_perl.so...
 /usr/bin/ld: cannot find -ldb
 collect2: ld returned 1 exit status


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Perl error when compiling

2009-02-16 Thread Klaus Hochlehnert

Hi,
 
install libdb development files, e.g. for Ubuntu/Debian:
aptitude install libdb-dev
 
Regards, Klaus From: asannu...@gmail.com To: 
freeswitch-users@lists.freeswitch.org Date: Mon, 16 Feb 2009 10:24:30 -0500 
Subject: [Freeswitch-users] Perl error when compiling  Hi,  when y try to 
compiling perl module on freeswitch (from tarball 1.0.3RC1) I have this 
error:  making all mod_perl Creating mod_perl.so... /usr/bin/ld: cannot 
find -ldb collect2: ld returned 1 exit status  Any idea?  Thank you  - 
Andrea -   ___ Freeswitch-users 
mailing list Freeswitch-users@lists.freeswitch.org 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users 
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 
http://www.freeswitch.org
_
http://redirect.gimas.net/?n=M0902xHMMobile
Nie wieder eine Mail verpassen mit Hotmail fürs Handy!___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Perl error when compiling

2009-02-16 Thread Andrea
Thank you. Now work fine

Now when i unload and load mod_java i receive this error:


-freeswitch@ unload mod_java
2009-02-16 11:51:36 [NOTICE] switch_loadable_module.c:510 
switch_loadable_module_unprocess() Deleting Application 'java'
2009-02-16 11:51:36 [CONSOLE] switch_loadable_module.c:1231 do_shutdown() 
Stopping: mod_java
API CALL [unload(mod_java)] output:
+OK

2009-02-16 11:51:37 [CONSOLE] switch_loadable_module.c:1244 do_shutdown() 
mod_java unloaded.
freeswitch@ load mod_java
API CALL [load(mod_java)] output:
-ERR [module load file routine returned an error]

freeswitch@ 2009-02-16 11:51:41 [NOTICE] modjava.c:244 mod_java_load() Java 
Framework Loading...
2009-02-16 11:51:41 [ERR] modjava.c:222 create_java_vm() Error creating Java 
VM!
2009-02-16 11:51:41 [CRIT] switch_loadable_module.c:839 
switch_loadable_module_load_file() Error Loading module 
/usr/local/freeswitch/mod/mod_java.so
**Module load routine returned an error**

This is my java.conf.xml

configuration name=java.conf description=Java Plug-Ins
  !-- Path to the Java 1.6 virtual machine to use --
  javavm path=/opt/jdk/jre/lib/i386/client/libjvm.so/
  !-- Options to pass to Java --
  options
!-- Your class path (make sure freeswitch.jar is on it) --
option value=-Djava.class.path=$${base_dir}/scripts/freeswitch.jar/
!-- Enable remote debugging --
option 
value=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:8000/
  /options
/configuration

Y have configured the PATH for jdk to point to right directory and i run 
./configure with the java path options

I hope you understand. I'm new on this :)

Regards

- Andrea -



___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org