Re: [Asterisk-Users] Gnophone installation problems

2004-04-05 Thread Martin Mielke
Fran Boon wrote:

Gavin Hamill wrote:

I'm using Mozilla 1.7a installed from a tarball. The needed libraries
are just there:
You've answered your own question. You installed Mozilla from a 
tarball. RPM therefore doesn't know about it. You need to install a 
recent Mozilla RPM :)

Why do I need to install from RPM when I already included the Mozilla 
lib directories in /etc/ld.so.conf and issued a 'ldconfig' command? The 
system should know where to look for the needed libraries already...

or use --nodeps

F


That wasn't a good move either:

---
 gnophone
Registering Enlightened Sound version 0
Loaded and activated '/usr/lib/gnophone/modules/audio-esd.so'
New input space:  0 of 40 64 byte fragments (0 bytes left)
New output space:  40 of 40 64 byte fragments (2560 bytes left)
Registering  ALI 5451 (DUPLEX) on /dev/dsp0
Loaded and activated '/usr/lib/gnophone/modules/audio-oss.so'
Registering Mozilla/5.0
Loaded and activated '/usr/lib/gnophone/modules/html-mozilla.so'
Loaded and activated '/usr/lib/gnophone/modules/audio-phone.so'
iax.c line 654 in iax_init: Started on port 5036
Listening on port 5036
Initialized phone core
New input space:  0 of 40 64 byte fragments (0 bytes left)
New output space:  40 of 40 64 byte fragments (2560 bytes left)
Segmentation fault
No bytes to read
Error reading voice data on  ALI 5451 (DUPLEX) on /dev/dsp0
---

Any ideas now?

TIA,
Martin
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Gnophone installation problems

2004-04-05 Thread Vic Cross
On Mon, 5 Apr 2004, Martin Mielke wrote:
 Why do I need to install from RPM when I already included the Mozilla 
 lib directories in /etc/ld.so.conf and issued a 'ldconfig' command? The 
 system should know where to look for the needed libraries already...

The system might (depending on how you define the system), but RPM
definitely does not.  RPM does not check the filesystem for what may or
may not be installed.  It has a database for that purpose, which is
updated when you install/remove packages.  If you installed something, and
did not use an RPM to do so, RPM does not know anything about the
components that you installed.  This is RPM 101.

Somebody else wrote:
  or use --nodeps

And Martin replied:
 That wasn't a good move either:

I'm not surprised.  Using --nodeps on an RPM package install is just plain
wrong -- any software that requires it to install is broken.  Run (don't
walk) from any maintainer that tells you to use it to install their
package.  This (IMHO) should also be in RPM 101.  :)

Your ways forward in this case are: 

1) Find an RPM of Mozilla to suit your distro (accepting that you might 
not get the version of Mozilla that you want), then try re-installing the 
gnophone RPM

2) Use a suitable .spec file to build an RPM of Mozilla to suit your 
distro (if you really must have a version of Mozilla for which there is no 
existing RPM), then try re-installing the gnophone RPM

3) Build and install gnophone from source (if you want to keep your 
existing Mozilla install)

I'd suggest taking further questions on this away from this list, as it is 
really not on-topic for Asterisk...

Cheers,
Vic Cross
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Gnophone installation problems

2004-04-02 Thread Martin Mielke
Hi all,

I installed all needed RPMs by GnoPhone to be installed without problems 
but when attempting to install GnoPhone itself I get this message:

# rpm -Uvh gnophone-0.2.4-1.i386.rpm
error: Failed dependencies:
   mozilla = 0.9.2 is needed by gnophone-0.2.4-1
   libgtkembedmoz.so is needed by gnophone-0.2.4-1
   libgtksuperwin.so is needed by gnophone-0.2.4-1
I'm using Mozilla 1.7a installed from a tarball. The needed libraries 
are just there:

# locate libgtkembedmoz.so
/usr/local/mozilla/libgtkembedmoz.so
# locate libgtkembedmoz.so
/usr/local/mozilla/libgtkembedmoz.so
# locate libgtksuperwin.so
/usr/local/mozilla/libgtksuperwin.so
and the library path includes them:

# grep mozilla /etc/ld.so.conf
/usr/local/mozilla
I sent an email to the GnoPhone support but some weeks ago but, by the 
time I type this, I still haven't seen a reply...

Any thoughts?

Thanks in advance!

Have a nice weekend!
Martin
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Gnophone installation problems

2004-04-02 Thread Gavin Hamill
On Friday 02 April 2004 16:01, Martin Mielke wrote:
 Hi all,

 I installed all needed RPMs by GnoPhone to be installed without problems
 but when attempting to install GnoPhone itself I get this message:

 # rpm -Uvh gnophone-0.2.4-1.i386.rpm
 error: Failed dependencies:
 mozilla = 0.9.2 is needed by gnophone-0.2.4-1
 libgtkembedmoz.so is needed by gnophone-0.2.4-1
 libgtksuperwin.so is needed by gnophone-0.2.4-1

 I'm using Mozilla 1.7a installed from a tarball. The needed libraries
 are just there:

You've answered your own question. You installed Mozilla from a tarball. RPM 
therefore doesn't know about it. You need to install a recent Mozilla RPM :)

gdh
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Gnophone installation problems

2004-04-02 Thread Glen Gray
On Fri, 2004-04-02 at 16:01, Martin Mielke wrote:
 Hi all,
 
 I installed all needed RPMs by GnoPhone to be installed without problems 
 but when attempting to install GnoPhone itself I get this message:
 
 # rpm -Uvh gnophone-0.2.4-1.i386.rpm
 error: Failed dependencies:
 mozilla = 0.9.2 is needed by gnophone-0.2.4-1
 libgtkembedmoz.so is needed by gnophone-0.2.4-1
 libgtksuperwin.so is needed by gnophone-0.2.4-1
 
 I'm using Mozilla 1.7a installed from a tarball. The needed libraries 
 are just there:
 
 # locate libgtkembedmoz.so
 /usr/local/mozilla/libgtkembedmoz.so
 

I presume you used prebuilt binary rpms then. 
They will most likely have been linked against /usr/lib/mozilla-1.x/

Try getting the gnophone source rpm rebuilding that with

rpmbuild --rebuild gnophone.src.rpm

-- 
Glen Gray [EMAIL PROTECTED] 17 Dame Court
Senior Software EngineerDublin 2, Ireland
Lincor Solutions Ltd.  Ph: +353 (0) 1 6746413


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Gnophone installation problems

2004-04-02 Thread Fran Boon
Gavin Hamill wrote:
I'm using Mozilla 1.7a installed from a tarball. The needed libraries
are just there:
You've answered your own question. You installed Mozilla from a tarball. RPM 
therefore doesn't know about it. You need to install a recent Mozilla RPM :)
or use --nodeps

F
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users