Michael Stearne
2006-Jan-03 16:43 UTC
[Asterisk-Users] Problems Upgrading to 1.2.1 on Fedora 3
I am having trouble with FC3. After doing a yum update (of 1264 packages) I still cannont compile 1.2.1 from source: make[1]: `libedit.a' is up to date. make[1]: Leaving directory `/usr/src/asterisk-1.2.1/editline' make[1]: Entering directory `/usr/src/asterisk-1.2.1/db1-ast' make[1]: `libdb1.a' is up to date. make[1]: Leaving directory `/usr/src/asterisk-1.2.1/db1-ast' make[1]: Entering directory `/usr/src/asterisk-1.2.1/stdtime' make[1]: *** No rule to make target `/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h', needed by `localtime.o'. Stop. make[1]: Leaving directory `/usr/src/asterisk-1.2.1/stdtime' make: *** [stdtime/libtime.a] Error 2 and when I try to update from binary: [root@red2 ~]# rpm -Uvh asterisk-1.2.1-15.rhfc3.at.i386.rpm warning: asterisk-1.2.1-15.rhfc3.at.i386.rpm: V3 DSA signature: NOKEY, key ID 66534c2b error: Failed dependencies: libpri.so.1 is needed by asterisk-1.2.1-15.rhfc3.at.i386 libspandsp.so.0 is needed by asterisk-1.2.1-15.rhfc3.at.i386 libtonezone.so.1 is needed by asterisk-1.2.1-15.rhfc3.at.i386 I have compiled from source 1.0.9 without problem on this machine. Any ideas why my attempts are now failing? Thanks, Michael
Mojo with Horan & Company, LLC
2006-Jan-03 17:18 UTC
[Asterisk-Users] Problems Upgrading to 1.2.1 on Fedora 3
Have you removing the asterisk include directory before trying version 1.2? I think it might be /usr/include/asterisk/ in many cases. Michael Stearne wrote:> I am having trouble with FC3. > > After doing a yum update (of 1264 packages) I still cannont compile > 1.2.1 from source: > > make[1]: `libedit.a' is up to date. > make[1]: Leaving directory `/usr/src/asterisk-1.2.1/editline' > make[1]: Entering directory `/usr/src/asterisk-1.2.1/db1-ast' > make[1]: `libdb1.a' is up to date. > make[1]: Leaving directory `/usr/src/asterisk-1.2.1/db1-ast' > make[1]: Entering directory `/usr/src/asterisk-1.2.1/stdtime' > make[1]: *** No rule to make target > `/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h', needed by > `localtime.o'. Stop. > make[1]: Leaving directory `/usr/src/asterisk-1.2.1/stdtime' > make: *** [stdtime/libtime.a] Error 2 > > and when I try to update from binary: > > [root@red2 ~]# rpm -Uvh asterisk-1.2.1-15.rhfc3.at.i386.rpm > warning: asterisk-1.2.1-15.rhfc3.at.i386.rpm: V3 DSA signature: NOKEY, > key ID 66534c2b > error: Failed dependencies: > libpri.so.1 is needed by asterisk-1.2.1-15.rhfc3.at.i386 > libspandsp.so.0 is needed by asterisk-1.2.1-15.rhfc3.at.i386 > libtonezone.so.1 is needed by asterisk-1.2.1-15.rhfc3.at.i386 > > I have compiled from source 1.0.9 without problem on this machine. > > Any ideas why my attempts are now failing? > > Thanks, > Michael > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
Ray Van Dolson
2006-Jan-03 18:27 UTC
[Asterisk-Users] Problems Upgrading to 1.2.1 on Fedora 3
On Tue, Jan 03, 2006 at 06:43:16PM -0500, Michael Stearne wrote:> I am having trouble with FC3. > > After doing a yum update (of 1264 packages) I still cannont compile > 1.2.1 from source: > > make[1]: `libedit.a' is up to date. > make[1]: Leaving directory `/usr/src/asterisk-1.2.1/editline' > make[1]: Entering directory `/usr/src/asterisk-1.2.1/db1-ast' > make[1]: `libdb1.a' is up to date. > make[1]: Leaving directory `/usr/src/asterisk-1.2.1/db1-ast' > make[1]: Entering directory `/usr/src/asterisk-1.2.1/stdtime' > make[1]: *** No rule to make target > `/usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h', needed by > `localtime.o'. Stop. > make[1]: Leaving directory `/usr/src/asterisk-1.2.1/stdtime' > make: *** [stdtime/libtime.a] Error 2Do you have a /usr/lib/gcc/i386-redhat-linux/3.4.2/include/stddef.h file? Should be part of the gcc package, but... maybe your dependencies got screwed up somehow. Do a find /usr/lib/gcc -name 'stddef.h' and see where the file is at. That's where I'd start anyways. Ray
Tzafrir Cohen
2006-Jan-04 06:21 UTC
[Asterisk-Users] Problems Upgrading to 1.2.1 on Fedora 3
On Tue, Jan 03, 2006 at 06:43:16PM -0500, Michael Stearne wrote:> and when I try to update from binary: > > [root@red2 ~]# rpm -Uvh asterisk-1.2.1-15.rhfc3.at.i386.rpm > warning: asterisk-1.2.1-15.rhfc3.at.i386.rpm: V3 DSA signature: NOKEY, > key ID 66534c2b > error: Failed dependencies: > libpri.so.1 is needed by asterisk-1.2.1-15.rhfc3.at.i386 > libspandsp.so.0 is needed by asterisk-1.2.1-15.rhfc3.at.i386 > libtonezone.so.1 is needed by asterisk-1.2.1-15.rhfc3.at.i386obviously you need to install the packages that include them (libpri, zaptel/libtonezoe, spandsp). And you need a version for Asterisk 1.2 . Do you use apt/yum for installing those? -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
Michael Stearne
2006-Jan-04 15:28 UTC
[Asterisk-Users] Problems Upgrading to 1.2.1 on Fedora 3
On 1/4/06, Tzafrir Cohen <tzafrir@cohens.org.il> wrote:> On Tue, Jan 03, 2006 at 06:43:16PM -0500, Michael Stearne wrote: > > > and when I try to update from binary: > > > > [root@red2 ~]# rpm -Uvh asterisk-1.2.1-15.rhfc3.at.i386.rpm > > warning: asterisk-1.2.1-15.rhfc3.at.i386.rpm: V3 DSA signature: NOKEY, > > key ID 66534c2b > > error: Failed dependencies: > > libpri.so.1 is needed by asterisk-1.2.1-15.rhfc3.at.i386 > > libspandsp.so.0 is needed by asterisk-1.2.1-15.rhfc3.at.i386 > > libtonezone.so.1 is needed by asterisk-1.2.1-15.rhfc3.at.i386 > > obviously you need to install the packages that include them (libpri, > zaptel/libtonezoe, spandsp). > > And you need a version for Asterisk 1.2 . > > Do you use apt/yum for installing those? >I ended up compiling Asterisk from the source. Thanks, Michael