ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Ltib] Installation error - Red Hat 9


From: Stuart Hughes
Subject: RE: [Ltib] Installation error - Red Hat 9
Date: Tue, 15 Jan 2008 14:37:45 +0000

Hi Sudhir,

Someone contributed "LTIB: Freescale MPC82xx based development boards"
into Savannah CVS, I've not tried this but maybe it's close to what you
need?

Regards, Stuart

On Mon, 2008-01-14 at 10:35 -0600, sudhir wrote:
> Hi Stuart,
> 
> I changed to another machine and I passed perl related errors now.
> 
> I have MPC8248 and I didnt see this options in the platform selection.
> I was wondering which one of the selection is best for my system.
> 
> Thanks,
> Sudhir
> 
> 
> 
> 
> 
>         
>         ______________________________________________________________
>         Subject: RE: [Ltib] Installation error - Red Hat 9
>         From: address@hidden
>         To: address@hidden
>         CC: address@hidden
>         Date: Thu, 10 Jan 2008 18:36:09 +0000
>         
>         Hi Sudhir,
>         
>         You need to install a proper set of Perl (and other) software.  It's 
> now
>         telling you that the Class/Struct.pm module is not installed.  Maybe 
> you
>         could ask an admin to help install a set of developer packages for you
>         so you have everything.
>         
>         Regards, Stuart
>         
>         On Thu, 2008-01-10 at 10:36 -0600, sudhir wrote:
>         > Hi Stuart,
>         > 
>         > I installed the Data-Dumper module and it still shows some more 
> error.
>         > Now I get following error:
>         > 
>         > 
>         > 
>         > make[3]: Leaving directory
>         > `/opt/freescale/ltib/usr/src/rpm/BUILD/autoconf-2.57/lib'
>         > ../../tests/autom4te                            \
>         >         --language=m4sugar                      \
>         >         --freeze                        \
>         >         --output=m4sugar.m4f
>         > Can't locate Class/Struct.pm in @INC (@INC
>         > contains: /opt/freescale/ltib/usr/src/rpm/BUILD/autoconf-2.57/lib 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at 
> /usr/lib/perl5/5.8.0/File/stat.pm line 27.
>         > BEGIN failed--compilation aborted at 
> /usr/lib/perl5/5.8.0/File/stat.pm
>         > line 27.
>         > 
>         > Thanks,
>         > Sudhir
>         > 
>         > 
>         > 
>         > 
>         >         
>         >         
> ______________________________________________________________
>         >         Subject: RE: [Ltib] Installation error - Red Hat 9
>         >         From: address@hidden
>         >         To: address@hidden
>         >         CC: address@hidden
>         >         Date: Wed, 9 Jan 2008 11:09:24 +0000
>         >         
>         >         Hi Sudhir,
>         >         
>         >         This is a different problem, you've got past the bash 
> problem.
>         >         
>         >         In this case it's complaining:
>         >         
>         >         
> /opt/freescale/ltib/usr/src/rpm/BUILD/autoconf-2.57/lib'../../tests/autom4te  
>                           \
>         >                 --language=m4sugar                      \
>         >                 --freeze                        \
>         >                 --output=m4sugar.m4fCan't locate loadable object 
> for module Data::Dumper in @INC (@INC contains: 
> /opt/freescale/ltib/usr/src/rpm/BUILD/autoconf-2.57/lib 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at 
> /opt/freescale/ltib/usr/src/rpm/BUILD/autoconf-2.57/bin/autom4te line 39
>         >         
>         >         This is saying that your Perl installation is missing the 
> Data::Dumper
>         >         module.  You need to install this (and I'd advise all the 
> common Perl
>         >         modules) and then 'rm -rf 
> opt/freescale/ltib/usr/src/rpm/BUILD/*' and
>         >         then re-try.
>         >         
>         >         Regards, Stuart
>         >         
>         >         On Tue, 2008-01-08 at 16:09 -0600, sudhir wrote:
>         >         > 
>         >         > 
>         >         > Hi Stuart,
>         >         > 
>         >         > I did
>         >         > $ rm -rf /tmp/rpm-root
>         >         > and re ran the ./ltib from non-root user and I could not 
> still get it
>         >         > done. I am also attaching the log file with this email. 
>         >         > 
>         >         > In case it is due to the bug in bash, what do you suggest 
> me to do? Is
>         >         > there any easy to fix it? I would appreciate any 
> suggestions.
>         >         > 
>         >         > Thanks!
>         >         > Sudhir
>         >         > 
>         >         > 
>         >         > 
>         >         > 
>         >         > 
> ______________________________________________________________________
>         >         > > Subject: RE: [Ltib] Installation error - Red Hat 9
>         >         > > From: address@hidden
>         >         > > To: address@hidden
>         >         > > CC: address@hidden
>         >         > > Date: Tue, 8 Jan 2008 10:16:14 +0000
>         >         > > 
>         >         > > Hi Sudhir,
>         >         > > 
>         >         > > I just tried this on one of our Redhat 9 machines and 
> it installed
>         >         > fine,
>         >         > > so it looks to me like you may have just triggered a 
> bug in bash
>         >         > (see:
>         >         > >
>         >         > http://www.mail-archive.com/address@hidden/msg45953.html 
> ). I think if you do:
>         >         > > 
>         >         > > $ rm -rf /tmp/rpm-root
>         >         > > ##### change to a non-root account
>         >         > > $ ./ltib
>         >         > > 
>         >         > > It may work on a re-run.
>         >         > > 
>         >         > > Also it looks to me like you may be trying to run LTIB 
> as root.
>         >         > Please
>         >         > > don't as this will cause you problems (apart from the 
> risk of hosing
>         >         > > your machine). Please run ltib (even during the 
> install) as a
>         >         > > non-priviledged user account.
>         >         > > 
>         >         > > The only time LTIB needs to have root privileges is 
> when actually
>         >         > > running the install of an rpm (this is handled by sudo 
> for you).
>         >         > > 
>         >         > > Regards, Stuart
>         >         > > 
>         >         > > 
>         >         > > On Mon, 2008-01-07 at 13:26 -0600, sudhir wrote:
>         >         > > > Hi Stuart,
>         >         > > > 
>         >         > > > I dont get the same error after I installed 
> perl-getop. 
>         >         > > > Still I could not get it installed. The installation 
> stops saying
>         >         > > > error interrupt. The last part of the log looks as 
> follows:
>         >         > > > 
>         >         > > > 
>         >         > > > malloc: input.c:379: assertion botched
>         >         > > > free: underflow detected; mh_nbytes out of range
>         >         > > > Stopping myself...../libtool: line 5073: 13922 Aborted
>         >         > > > ( test -z "$pic_flag" || test "$pic_mode" != default )
>         >         > > > 
>         >         > > > malloc: input.c:379: assertion botched
>         >         > > > free: underflow detected; mh_nbytes out of range
>         >         > > > Stopping myself...../libtool: line 5073: 13923 Aborted
>         >         > > > $run $rm "$output_obj"
>         >         > > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../build 
> -I../lib
>         >         > -I../rpmio
>         >         > > > -I../beecrypt -I../popt -I/usr/local/include -g -O2 
> -D_GNU_SOURCE
>         >         > > > -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes
>         >         > > > -Wmissing-prototypes -Wno-char-subscripts -c rpmdb.c 
> -o rpmdb.o
>         >         > > > >/dev/null 2>&1
>         >         > > > mv -f .libs/rpmdb.lo rpmdb.lo
>         >         > > > 
>         >         > > > malloc: input.c:379: assertion botched
>         >         > > > free: underflow detected; mh_nbytes out of range
>         >         > > > Stopping myself...../libtool: line 5073: 13927 Aborted
>         >         > > > $run $mv $libobj $lo_libobj
>         >         > > > 
>         >         > > > malloc: input.c:379: assertion botched
>         >         > > > free: underflow detected; mh_nbytes out of range
>         >         > > > Stopping myself...../libtool: line 5073: 13928 Aborted
>         >         > > > $run $rm $removelist
>         >         > > > make[2]: *** [rpmdb.lo] Error 134
>         >         > > > make[2]: Leaving directory 
> `/tmp/rpm-root/BUILD/rpm-4.0.4/rpmdb'
>         >         > > > make[1]: *** [all-recursive] Error 1
>         >         > > > make[1]: Leaving directory 
> `/tmp/rpm-root/BUILD/rpm-4.0.4'
>         >         > > > make: *** [all-recursive-am] Error 2
>         >         > > > error: Bad exit status from /tmp/rpm-tmp.70666 
> (%build)
>         >         > > > 
>         >         > > > 
>         >         > > > RPM build errors:
>         >         > > > Bad exit status from /tmp/rpm-tmp.70666 (%build)
>         >         > > > Failed building rpm-fs
>         >         > > > Died at ./ltib line 2037.
>         >         > > > 
>         >         > > > Started: Mon Jan 7 11:43:02 2008
>         >         > > > Ended: Mon Jan 7 11:48:15 2008
>         >         > > > Elapsed: 313 seconds
>         >         > > > 
>         >         > > > These packages failed to build:
>         >         > > > rpm-fs 
>         >         > > > Build Failed
>         >         > > > 
>         >         > > > 
>         >         > > > 
>         >         > > > Thanks,
>         >         > > > Sudhir
>         >         > > > 
>         >         > > > 
>         >         > > > 
>         >         > > > 
>         >         > > > 
>         >         > > > 
>         >         > > > 
>         >         > > >
>         >         > 
> ______________________________________________________________________
>         >         > > > > Subject: Re: [Ltib] Installation error - Red Hat 9
>         >         > > > > From: address@hidden
>         >         > > > > To: address@hidden
>         >         > > > > CC: address@hidden
>         >         > > > > Date: Mon, 7 Jan 2008 16:51:30 +0000
>         >         > > > > 
>         >         > > > > Hi Sudhir,
>         >         > > > > 
>         >         > > > > This is part of the standard Perl package. If you 
> have this
>         >         > > > installed
>         >         > > > > (and have not in some way replaced it) you should 
> be able to
>         >         > see:
>         >         > > > > 
>         >         > > > > $ ls -l /usr/lib/perl5/5.8.0/Getopt/Long.pm
>         >         > > > > -r--r--r-- 1 root root 61600 Feb 18
>         >         > > > 2003 /usr/lib/perl5/5.8.0/Getopt/Long.pm
>         >         > > > > 
>         >         > > > > $ rpm -qif /usr/lib/perl5/5.8.0/Getopt/Long.pm
>         >         > > > > 
>         >         > > > > Name : perl Relocations: (not relocateable)
>         >         > > > > Version : 5.8.0 Vendor: Red Hat, Inc.
>         >         > > > > Release : 88 Build Date: Tue Feb 18 21:52:16 2003
>         >         > > > > Install Date: Wed Nov 10 15:44:16 2004 Build Host:
>         >         > > > stripples.devel.redhat.com
>         >         > > > > Group : Development/Languages Source RPM: 
> perl-5.8.0-88.src.rpm
>         >         > > > > Size : 35423442 License: Artistic
>         >         > > > > Signature : DSA/SHA1, Mon Feb 24 00:44:29 2003, Key 
> ID
>         >         > > > 219180cddb42a60e
>         >         > > > > Packager : Red Hat, Inc. 
> <http://bugzilla.redhat.com/bugzilla>
>         >         > > > > Summary : The Perl programming language.
>         >         > > > > ....
>         >         > > > > 
>         >         > > > > You can check the package using:
>         >         > > > > $ rpm -V perl
>         >         > > > > 
>         >         > > > > If it's unmodified, you should get no output.
>         >         > > > > 
>         >         > > > > Regards, Stuart
>         >         > > > > 
>         >         > > > > 
>         >         > > > > On Mon, 2008-01-07 at 10:26 -0600, sudhir wrote:
>         >         > > > > > Hello, while installing ltib in Re Hat 9 I got 
> the following
>         >         > error
>         >         > > > > > message:
>         >         > > > > > 
>         >         > > > > > 
>         >         > > > > > Can't locate Getopt/Long.pm in @INC (@INC
>         >         > > > > >
>         >         > > >
>         >         > contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl 
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at 
> ./ltib line 34.
>         >         > > > > > BEGIN failed--compilation aborted at ./ltib line 
> 34.
>         >         > > > > > 
>         >         > > > > > Can anybody help me on it.
>         >         > > > > > 
>         >         > > > > > Thanks,
>         >         > > > > > sudhir
>         >         > > > > > 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]