ltib
[Top][All Lists]
Advanced

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

RE: [Ltib] Building xorg-server; missing dependencies?


From: Stuart Hughes
Subject: RE: [Ltib] Building xorg-server; missing dependencies?
Date: Mon, 02 Mar 2009 10:02:44 +0000

Hi Alex,


Can you check that rootfs/usr/lib/libX11.so.6.2.0 exists and is readable
and that it is the right format (use file on it).

Also, can you try this to make sure X11 isn't supplying any weird link
paths:

$ ./ltib -m shell
LTIB> pkg-config x11 --cflags --libs

Also can you grep in rootfs/usr/lib/pkgconfig/*.pc for X11 to see if
there are any absolute paths.

As far as your output goes, I can't see anything particularly different
in the configure output, only:

- seh
+ alex

-checking for IceConnectionNumber in -lICE... no
+checking for IceConnectionNumber in -lICE... yes

and I don't think this would cause the issue.  The real problem as I
said earlier is why you're seeing an explicit link
to /usr/lib/libX11.so /usr/lib/libXext.so in your output.  This is tied
into libtool in some way.  

Unfortunately there's no easy solution other than looking through the
build area to try to work out how these absolute references are getting
injected.  My suspicion is that it's related to the particular host
you're building on and the build rules incorrectly detecting and using
something they should not (along the lines of why I asked about
sys_lib_search_path_spec).

Can you see if you can dig into this.  Also can you let me know which
host distro you're trying this on in case that gives any ideas.

Regards, Stuart


On Fri, 2009-02-27 at 14:29 -0500, Alexandre Paradis wrote:
> Hi Stuart,
> 
> The symlink exists:
> 
> dev-station ltib # ls -l rootfs/usr/lib/libX11.so lrwxrwxrwx 1 root root 15 
> Feb 26 18:28 rootfs/usr/lib/libX11.so -> libX11.so.6.2.0
> 
> And this is my sys_lib variable value:
> 
> dev-station ltib # libtool --config | grep sys_lib_search_path_spec=
> sys_lib_search_path_spec="/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 
> /usr/i686-pc-linux-gnu/lib /usr/lib /lib"
> 
> I added the perl line in my evas.spec file, but no luck
> 
> I've attached my spec file and the whole ltib output if it can help you
> 
> Thanks,
> 
> Alex
> 
> 
> -----Original Message-----
> From: Stuart Hughes [mailto:address@hidden 
> Sent: February 27, 2009 11:20 AM
> To: Alexandre Paradis
> Cc: address@hidden
> Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> 
> Hi Alex,
> 
> evas builds okay for me.  If I look at the build log (attached) I see a 
> difference at the point you encounter a failure.  In yours you have an 
> explicit reference to "/usr/lib/libX11.so" which is causing your problem.  In 
> mine the line is just "-L/usr/X11R6/lib -lX11 -lXext"
> 
> gcc
> -shared  .libs/evas_engine.o .libs/evas_outbuf.o .libs/evas_x_buffer.o 
> .libs/evas_x_color.o .libs/evas_x_main.o  -L/usr/X11R6/lib -lX11 -lXext 
> -L/home/seh/ltib_bsps/savannah_ltib/tmp/evas//opt/freescale/rootfs/ppc/usr/lib
>  -L/usr/lib -levas  -Wl,-soname -Wl,module.so -o .libs/module.so
> 
> However, even this looks suspect as I don't like the -L/usr/X11R6/lib.
> I think I may be getting away with this though as it finds my 
> rootfs/usr/lib/libX11.so first (I'm not sure).
> 
> Can you check that you have this:
> 
> $ ls -l rootfs/usr/lib/libX11.so
> lrwxrwxrwx  1 root root 15 Feb 27 14:37 rootfs/usr/lib/libX11.so ->
> libX11.so.6.2.0*
> 
> If not, make sure you have X11 turned on in the build
> 
> Looking at the package, normally problems like this are cause by references 
> to bad paths in libtool in the sys_lib_search_path_spec= variable. However 
> mine looks okay (libtool is auto-generated, so look at yours).
> 
> Just in case it is this, can you try the following change (add the perl edit 
> line) to dist/lfs-5.1/evas/evas.spec ./configure --prefix=%{_prefix} 
> --host=$CFGHOST --build=%{_build} $XTRA_OPTS CFLAGS="-O0 -g"
> perl -pi -e 's,^sys_lib_search_path_spec=.*,sys_lib_search_path_spec=,' 
> libtool make
> 
> Regards, Stuart
> 
> On Fri, 2009-02-27 at 08:24 -0500, Alexandre Paradis wrote:
> > Hi Stuart,
> > 
> > Doing "find rootfs -name \*.la" doesn't output any files
> > 
> > Thanks,
> > 
> > --
> > Alex
> > 
> > -----Original Message-----
> > From: Stuart Hughes [mailto:address@hidden
> > Sent: February 27, 2009 3:35 AM
> > To: Alexandre Paradis
> > Cc: address@hidden
> > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > 
> > Hi Alex,
> > 
> > The link is incorrectly picking up libraries from /usr/lib.  Can you 
> > do
> > 
> > $ find rootfs -name \*.la
> > 
> > If you see any of these files, that would cause the problem.  If you 
> > do find them, can you then do:
> > 
> > $ rpm --root `pwd`/rootfs -qif /path/to/file.la
> > 
> > This will identify which package is putting these bad (for cross
> > compile) files into the rootfs.
> > 
> > Regards, Stuart
> > 
> > On Thu, 2009-02-26 at 13:24 -0500, Alexandre Paradis wrote:
> > > Hi,
> > > 
> > > I installed the host components successfully.
> > > 
> > > However the "evas" package also doesn't build:
> > > 
> > > /bin/sh ../../../../libtool --tag=CC --mode=link gcc  -O0 -g   -o 
> > > module.la -rpath 
> > > /usr/lib/evas/modules/engines/software_x11/linux-gnu-powerpc -module 
> > > -avoid-version evas_engine.lo evas_outbuf.lo evas_x_buffer.lo 
> > > evas_x_color.lo evas_x_main.lo -L/usr/X11R6/lib -lX11 -lXext -lX11 -lXext 
> > > -lX11 -lXext -lX11 -lXext ../../../../src/lib/libevas.la
> > > gcc -shared  .libs/evas_engine.o .libs/evas_outbuf.o 
> > > .libs/evas_x_buffer.o .libs/evas_x_color.o .libs/evas_x_main.o  
> > > -Wl,--rpath 
> > > -Wl,/home/alex/savannah/ltib/rpm/BUILD/evas-0.9.9.050/src/lib/.libs 
> > > -L/usr/X11R6/lib /usr/lib/libX11.so /usr/lib/libXext.so 
> > > ../../../../src/lib/.libs/libevas.so  -Wl,-soname -Wl,module.so -o 
> > > .libs/module.so
> > > /usr/lib/libX11.so: could not read symbols: File in wrong format
> > > collect2: ld returned 1 exit status
> > > make[5]: *** [module.la] Error 1
> > > make[5]: Leaving directory 
> > > `/home/alex/savannah/ltib/rpm/BUILD/evas-0.9.9.050/src/modules/engines/software_x11'
> > > make[4]: *** [all-recursive] Error 1
> > > make[4]: Leaving directory 
> > > `/home/alex/savannah/ltib/rpm/BUILD/evas-0.9.9.050/src/modules/engines'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory 
> > > `/home/alex/savannah/ltib/rpm/BUILD/evas-0.9.9.050/src/modules'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory 
> > > `/home/alex/savannah/ltib/rpm/BUILD/evas-0.9.9.050/src'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory 
> > > `/home/alex/savannah/ltib/rpm/BUILD/evas-0.9.9.050'
> > > make: *** [all] Error 2
> > > error: Bad exit status from 
> > > /home/alex/savannah/ltib/tmp/rpm-tmp.3990 (%build)
> > > 
> > > 
> > > RPM build errors:
> > >     Bad exit status from /home/alex/savannah/ltib/tmp/rpm-tmp.3990 
> > > (%build) Build time for evas: 28 seconds
> > > 
> > > 
> > > It's including the wrong /usr/lib folder?
> > > 
> > > 
> > > Alex
> > > 
> > > -----Original Message-----
> > > From: Stuart Hughes [mailto:address@hidden
> > > Sent: February 26, 2009 12:49 PM
> > > To: Alexandre Paradis
> > > Cc: address@hidden
> > > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > > 
> > > Hi Alex,
> > > 
> > > You need to install some host components first, see:
> > > 
> > > http://www.libertatia.org/blog/?p=66
> > > 
> > > Basically:
> > > 
> > >     $ ./ltib –hostcf -p eet.spec
> > >         $ ./ltib –hostcf -p embryo.spec
> > >         $ ./ltib –hostcf -p evas.spec
> > >         $ ./ltib –hostcf -p ecore.spec
> > >         $ ./ltib –hostcf -p edje.spec
> > >         
> > > The startup instructions are out of date, all you need to do is 'startx'
> > > last time I tried.
> > > 
> > > Regards, Stuart
> > > 
> > > On Thu, 2009-02-26 at 12:31 -0500, Alexandre Paradis wrote:
> > > > Hi Stuart,
> > > > 
> > > > The libjpeg built successfully, thanks.
> > > > 
> > > > I'm at currently at building enlightenment, and the "emotion" package 
> > > > failed to build:
> > > > 
> > > > [snip...]
> > > > Making all in data
> > > > make[2]: Entering directory 
> > > > `/home/alex/savannah/ltib/rpm/BUILD/emotion-0.1.0.042/data'
> > > > edje_cc -v -id ../data -fd ../data \
> > > >         ../data/theme.edc \
> > > >         ../data/theme.edj
> > > > make[2]: edje_cc: Command not found
> > > > make[2]: *** [theme.edj] Error 127
> > > > make[2]: Leaving directory 
> > > > `/home/alex/savannah/ltib/rpm/BUILD/emotion-0.1.0.042/data'
> > > > make[1]: *** [all-recursive] Error 1
> > > > make[1]: Leaving directory 
> > > > `/home/alex/savannah/ltib/rpm/BUILD/emotion-0.1.0.042'
> > > > make: *** [all] Error 2
> > > > error: Bad exit status from 
> > > > /home/alex/savannah/ltib/tmp/rpm-tmp.88468 (%build)
> > > > 
> > > > 
> > > > RPM build errors:
> > > >     Bad exit status from 
> > > > /home/alex/savannah/ltib/tmp/rpm-tmp.88468 (%build) Build time for 
> > > > emotion: 14 seconds
> > > > 
> > > > Failed building emotion
> > > > 
> > > > 
> > > > f_buildrpms() returned an error, exiting
> > > > traceback:
> > > >  main:552
> > > > 
> > > > 
> > > > Started: Thu Feb 26 12:19:41 2009
> > > > Ended:   Thu Feb 26 13:27:17 2009
> > > > Elapsed: 4056 seconds
> > > > 
> > > > These packages failed to build:
> > > > emotion
> > > > 
> > > > Build Failed
> > > > 
> > > > Exiting on error or interrupt
> > > > 
> > > > 
> > > > 
> > > > The edje package built successfully, and I do have "edje_cc" in my root 
> > > > fs:
> > > > address@hidden ~/savannah/ltib $ locate edje_cc 
> > > > /home/alex/savannah/ltib/rootfs/usr/bin/edje_cc
> > > > 
> > > > Any ideas?
> > > > 
> > > > Thanks!
> > > > --
> > > > Alex
> > > > 
> > > > -----Original Message-----
> > > > From: Stuart Hughes [mailto:address@hidden
> > > > Sent: February 26, 2009 10:40 AM
> > > > To: Alexandre Paradis
> > > > Cc: address@hidden
> > > > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > > > 
> > > > Hi Alex,
> > > > 
> > > > Glad it was something straightforward.  I'd be inclined to not 
> > > > trust anything you built so far and do (save any work first!)
> > > > 
> > > > $ rm -rf rpm/BUILD/*
> > > > $ ./ltib -f
> > > > 
> > > > This will force rebuild everything.
> > > > 
> > > > Regards, Stuart
> > > > 
> > > > On Thu, 2009-02-26 at 10:12 -0500, Alexandre Paradis wrote:
> > > > > Hi Stuart
> > > > > 
> > > > > You're right, I had a misconfiguration on my system.
> > > > > 
> > > > > When I did the commands in the ltib shell, it displayed the powerpc 
> > > > > gcc, not my native one.
> > > > > 
> > > > > The problem was that for some reason I can't remember, I had made 
> > > > > dynamic links to various powerpc-e300c3-linux-gnu-* files, one of 
> > > > > them with the name "gcc".
> > > > > 
> > > > > Stupid mistake of mine, I removed them and now your test shows the 
> > > > > correct gcc version (my native one).
> > > > > 
> > > > > Thanks a LOT for your help.  I'll try building again.
> > > > > 
> > > > > --
> > > > > Alex
> > > > > 
> > > > > 
> > > > > -----Original Message-----
> > > > > From: Stuart Hughes [mailto:address@hidden
> > > > > Sent: February 26, 2009 8:43 AM
> > > > > To: Alexandre Paradis
> > > > > Cc: address@hidden
> > > > > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > > > > 
> > > > > Hi Alex,
> > > > > 
> > > > > I just tried the same thing (copy config/platform/mpc5121ads -> 
> > > > > Savannah CVS copy).  I then ran ltib to configure and build 
> > > > > this.  It builds libjpeg without any problem.
> > > > > 
> > > > > Processing platform: Freescale MPC512x based boards 
> > > > > =====================================================
> > > > > using config/platform/mpc5121ads/.config
> > > > > [snip]
> > > > > Executing(%build): /bin/sh
> > > > > -e /home/seh/ltib_bsps/savannah_ltib/tmp/rpm-tmp.60945
> > > > > + umask 022
> > > > > + cd /home/seh/ltib_bsps/savannah_ltib/rpm/BUILD
> > > > > + cd jpeg-6b
> > > > > + export
> > > > > PATH=/home/seh/ltib_bsps/savannah_ltib/bin:/opt/ltib/usr/bin:/op
> > > > > t/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-1/powerpc-e300c3-
> > > > > linux-gnu/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11
> > > > > R6/bin
> > > > > +
> > > > > PATH=/home/seh/ltib_bsps/savannah_ltib/bin:/opt/ltib/usr/bin:/op
> > > > > t/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-1/powerpc-e300c3-
> > > > > linux-gnu/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11
> > > > > R6/bin
> > > > > + ./configure --enable-static --enable-shared 
> > > > > + --target=powerpc-linux
> > > > > --prefix=/usr
> > > > > checking for gcc... 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... yes checking how to run 
> > > > > the C preprocessor... gcc -E checking for function prototypes... 
> > > > > yes checking for stddef.h... yes ...
> > > > > 
> > > > > The key difference between this and your output is:
> > > > > 
> > > > > checking whether the C compiler (gcc  ) is a cross-compiler... 
> > > > > no
> > > > > 
> > > > > You're says:
> > > > > >> checking whether the C compiler (gcc  ) is a 
> > > > > >> cross-compiler... yes
> > > > > 
> > > > > It looks like you have some miss configuration as it should be 
> > > > > finding the build machines native C compiler.
> > > > > 
> > > > > Let me explain a bit.   If you look at the spec file you'll see:
> > > > > 
> > > > > %Build
> > > > > export PATH=$UNSPOOF_PATH
> > > > > ./configure --enable-static --enable-shared --target=$CFGHOST 
> > > > > --prefix= %{_prefix} export PATH=$SPOOF_PATH make
> > > > > 
> > > > > This is a bit unusual inasmuch that configure is done without 
> > > > > spoofing (e.g. gcc is not an alias for the cross compiler, or should 
> > > > > not be).
> > > > > >From my notes this is because:
> > > > > 
> > > > > Get libjpeg to cross compile by using UNSPOOF_PATH for 
> > > > > ./configure and SPOOF_PATH for make.  All this is necessary 
> > > > > because ./configure calls ltconfig which inturn calls 
> > > > > config.guess which trys to compile and run a test .c program using 
> > > > > the first gcc in its path.
> > > > > 
> > > > > To get to the bottom of this, can you run the following:
> > > > > 
> > > > > $ ./ltib -m shell
> > > > > LTIB> export PATH=$UNSPOOF_PATH
> > > > > LTIB> which gcc
> > > > > ...
> > > > > LTIB> gcc -v
> > > > > ...
> > > > > LTIB> exit
> > > > > $
> > > > > 
> > > > > The output will show which compiler gcc is.  It should be the 
> > > > > native one on your build machine.  For example mine shows:
> > > > > 
> > > > > LTIB> which gcc
> > > > > /usr/bin/gcc
> > > > > 
> > > > > LTIB> gcc -v
> > > > > Using built-in specs.
> > > > > Target: i386-redhat-linux
> > > > > Configured with: ../configure --prefix=/usr 
> > > > > --mandir=/usr/share/man --infodir=/usr/share/info 
> > > > > --enable-shared --enable-threads=posix --enable-checking=release 
> > > > > --with-system-zlib --enable-__cxa_atexit 
> > > > > --disable-libunwind-exceptions --enable-libgcj-multifile 
> > > > > --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk 
> > > > > --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> > > > > --host=i386-redhat-linux
> > > > > Thread model: posix
> > > > > gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
> > > > > 
> > > > > Regards, Stuart
> > > > > 
> > > > > On Wed, 2009-02-25 at 11:23 -0500, Alexandre Paradis wrote:
> > > > > > Hi Stuart,
> > > > > > 
> > > > > > Here is the LTIB output using Savannah CVS, and my config file.
> > > > > > 
> > > > > > Thanks,
> > > > > > 
> > > > > > --
> > > > > > Alex
> > > > > > 
> > > > > > -----Original Message-----
> > > > > > From: Stuart Hughes [mailto:address@hidden
> > > > > > Sent: February 25, 2009 9:50 AM
> > > > > > To: Alexandre Paradis
> > > > > > Cc: address@hidden
> > > > > > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > > > > > 
> > > > > > Hi Alex,
> > > > > > 
> > > > > > You're on the wrong track here I think.  You should not need to do 
> > > > > > this.
> > > > > > 
> > > > > > Anything under rpm/BUILD is not under CVS and so is generated.  
> > > > > > If this build is failing, removed rpm/BUILD/_failed_package_ and 
> > > > > > then re-try.
> > > > > > 
> > > > > > If that doesn't work please post the LTIB output.  I need to 
> > > > > > know the command you ran, which LTIB (Savannah?) and also 
> > > > > > which configuration you're using (cat .config and then send me
> > > > > > config/platform/_target_/.config)
> > > > > > 
> > > > > > Regards, Stuart
> > > > > > 
> > > > > > On Wed, 2009-02-25 at 09:27 -0500, Alexandre Paradis wrote:
> > > > > > > OK, I fixed it by replacing the config.sub and config.guess 
> > > > > > > from 
> > > > > > > http://cvs.savannah.gnu.org/viewvc/~checkout~/config/config/
> > > > > > > 
> > > > > > > I replaced them in the 
> > > > > > > /home/alex/savannah/ltib/rpm/BUILD/jpeg-6b then re-ran 
> > > > > > > ./ltib
> > > > > > > 
> > > > > > > Is this something that would need to be added to the GPP package?
> > > > > > > 
> > > > > > > --
> > > > > > > Alex
> > > > > > > 
> > > > > > > -----Original Message-----
> > > > > > > From: address@hidden 
> > > > > > > [mailto:address@hidden On 
> > > > > > > Behalf Of Alexandre Paradis
> > > > > > > Sent: February 25, 2009 9:01 AM
> > > > > > > To: Stuart Hughes
> > > > > > > Cc: address@hidden
> > > > > > > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > > > > > > 
> > > > > > > Hi Stuart,
> > > > > > > 
> > > > > > > libjpeg failed to build:
> > > > > > > 
> > > > > > > /// OUTPUT ///
> > > > > > > checking host system type... ./config.guess: line 618: 
> > > > > > > ./dummy: cannot execute binary file
> > > > > > > ./config.guess: line 848: ./dummy: cannot execute binary 
> > > > > > > file
> > > > > > > ltconfig: cannot guess host type; you must specify one Try 
> > > > > > > `ltconfig --help' for more information.
> > > > > > > checking libjpeg version number... 62 creating 
> > > > > > > ./config.status creating Makefile creating jconfig.h
> > > > > > > + export
> > > > > > > + PATH=/home/alex/savannah/ltib/bin:/opt/ltib/usr/spoof:/hom
> > > > > > > + e/alex/savan 
> > > > > > > + nah/ltib/bin:/opt/ltib/usr/bin:/opt/freescale/usr/local/gc
> > > > > > > + c-4.1.78-egl 
> > > > > > > + ibc-2.5.78-1/powerpc-e300c3-linux-gnu/bin:/usr/local/bin:/
> > > > > > > + usr/bin:/bin :/usr/bin/X11:/usr/X11R6/bin 
> > > > > > > + PATH=/home/alex/savannah/ltib/bin:/opt/ltib/usr/spoof:/hom
> > > > > > > + e/alex/savan 
> > > > > > > + nah/ltib/bin:/opt/ltib/usr/bin:/opt/freescale/usr/local/gc
> > > > > > > + c-4.1.78-egl 
> > > > > > > + ibc-2.5.78-1/powerpc-e300c3-linux-gnu/bin:/usr/local/bin:/
> > > > > > > + usr/bin:/bin :/usr/bin/X11:/usr/X11R6/bin make
> > > > > > > ./libtool --mode=compile gcc -O2  -I. -c ./jcapimin.c
> > > > > > > make: ./libtool: Command not found
> > > > > > > make: *** [jcapimin.lo] Error 127
> > > > > > > error: Bad exit status from 
> > > > > > > /home/alex/savannah/ltib/tmp/rpm-tmp.15054 (%build)
> > > > > > > 
> > > > > > > 
> > > > > > > RPM build errors:
> > > > > > >     Bad exit status from 
> > > > > > > /home/alex/savannah/ltib/tmp/rpm-tmp.15054 (%build) Build 
> > > > > > > time for libjpeg: 2 seconds /// END OUTPUT ///
> > > > > > > 
> > > > > > > 
> > > > > > > I do have libtool installed on my system, but it seems it's 
> > > > > > > trying to run it from the local folder? (./libtool)
> > > > > > > 
> > > > > > > 
> > > > > > > --
> > > > > > > Alex
> > > > > > > 
> > > > > > > -----Original Message-----
> > > > > > > From: Stuart Hughes [mailto:address@hidden
> > > > > > > Sent: February 25, 2009 4:00 AM
> > > > > > > To: Alexandre Paradis
> > > > > > > Cc: address@hidden
> > > > > > > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > > > > > > 
> > > > > > > Hi Alex,
> > > > > > > 
> > > > > > > cross-gdb/gdbserver should also build.  If you want those later 
> > > > > > > we can try to debug what is wrong.
> > > > > > > 
> > > > > > > Regards, Stuart
> > > > > > > 
> > > > > > > On Tue, 2009-02-24 at 16:44 -0500, Alexandre Paradis wrote:
> > > > > > > > I think I just selected the wrong gdb package in the list.
> > > > > > > > 
> > > > > > > > I'm rebuilding with the native gdb package instead 
> > > > > > > > (without cross-gdb and gdbserver), and it didn't stop this 
> > > > > > > > time, so you can ignore my last question ;)
> > > > > > > > 
> > > > > > > > --
> > > > > > > > Alex
> > > > > > > > 
> > > > > > > > -----Original Message-----
> > > > > > > > From: address@hidden
> > > > > > > > [mailto:address@hidden On 
> > > > > > > > Behalf Of Alexandre Paradis
> > > > > > > > Sent: February 24, 2009 4:14 PM
> > > > > > > > To: Stuart Hughes
> > > > > > > > Cc: address@hidden
> > > > > > > > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > > > > > > > 
> > > > > > > > Hi Stuart,
> > > > > > > > 
> > > > > > > > Things are moving along.. ;)
> > > > > > > > 
> > > > > > > > Going forth with option #2, I performed the following as 
> > > > > > > > per your advice
> > > > > > > > 
> > > > > > > > 1. Checkout the current CVS 2. Copied the MPC5121 configs 
> > > > > > > > from the old BSP to the latest version 3. Configured my 
> > > > > > > > packages (the build process failed before I did the next 
> > > > > > > > step) 4. ** Copied the *mpc5121*.spec files for u-boot and 
> > > > > > > > the kernel from my old BSP to the latest dist/lfs/ folders
> > > > > > > > 
> > > > > > > > I re-started the build process, and everything seemed to work, 
> > > > > > > > except when it got to the GDB package.
> > > > > > > > 
> > > > > > > > It's complaining that it can't execute compiled binaries 
> > > > > > > > (obviously since we're cross-compiling), and says that I should 
> > > > > > > > add the "--host" flag:
> > > > > > > >         
> > > > > > > >         checking whether the C compiler works... configure: 
> > > > > > > > error: cannot run C compiled programs.
> > > > > > > >         If you meant to cross compile, use `--host'.
> > > > > > > >         See `config.log' for more details.
> > > > > > > >         error: Bad exit status from
> > > > > > > > /home/alex/savannah/ltib/tmp/rpm-tmp.74257 (%build)
> > > > > > > > 
> > > > > > > > While I don’t necessarily *need* GDB, it'd be nice to have it.  
> > > > > > > > Where would I add this flag?
> > > > > > > > 
> > > > > > > > Thanks a lot for your help!
> > > > > > > > 
> > > > > > > > --
> > > > > > > > Alex
> > > > > > > > 
> > > > > > > > 
> > > > > > > > -----Original Message-----
> > > > > > > > From: Stuart Hughes [mailto:address@hidden
> > > > > > > > Sent: February 23, 2009 10:22 AM
> > > > > > > > To: Alexandre Paradis
> > > > > > > > Cc: address@hidden
> > > > > > > > Subject: RE: [Ltib] Building xorg-server; missing dependencies?
> > > > > > > > 
> > > > > > > > Hi Alex,
> > > > > > > > 
> > > > > > > > If you go for option 2:
> > > > > > > > 
> > > > > > > > * checkout Savannah CVS
> > > > > > > > * do a cp -a old_bsp/config/platform/mpc5121ads
> > > > > > > > savannah/config/platform/
> > > > > > > > * cd  savannah
> > > > > > > > * ./ltib
> > > > > > > > * select mpc5121ads
> > > > > > > > * let it build the default and check it works for you
> > > > > > > > * ./ltib -m config
> > > > > > > > * select the X11 stuff
> > > > > > > > * ./ltib
> > > > > > > > * let it build
> > > > > > > > 
> > > > > > > > The Savannah copy has nothing pre-built, so in effect you are 
> > > > > > > > starting from clean.
> > > > > > > > 
> > > > > > > > If you want your old BSP back to it's original pristine state 
> > > > > > > > you can do (in old_bsp):
> > > > > > > > ./ltib --preconfig config/platform/mpc5121ads/defconfig
> > > > > > > > 
> > > > > > > > Regards, Stuart
> > > > > > > > 
> > > > > > > > On Mon, 2009-02-23 at 09:48 -0500, Alexandre Paradis wrote:
> > > > > > > > > The BSP is dated 2008-12-08, which seems to be the latest 
> > > > > > > > > version they have.
> > > > > > > > > 
> > > > > > > > > I'll go for option #2.
> > > > > > > > > 
> > > > > > > > > Should I clean everything since I already added packages 
> > > > > > > > > using the wrong commands?
> > > > > > > > > 
> > > > > > > > > --
> > > > > > > > > Alex
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Stuart Hughes [mailto:address@hidden
> > > > > > > > > Sent: February 23, 2009 9:31 AM
> > > > > > > > > To: Alexandre Paradis
> > > > > > > > > Cc: address@hidden
> > > > > > > > > Subject: RE: [Ltib] Building xorg-server; missing 
> > > > > > > > > dependencies?
> > > > > > > > > 
> > > > > > > > > Hi Alex,
> > > > > > > > > 
> > > > > > > > > I guess you're using an older Freescale BSP?
> > > > > > > > > 
> > > > > > > > > If so your best bet is to try this:
> > > > > > > > > 
> > > > > > > > > 1/ Ask Freescale if they have a later BSP (the X11 stuff 
> > > > > > > > > went in around Nov/Dec last year IIRC).
> > > > > > > > > 
> > > > > > > > > 2/ If not, use the Savannah LTIB CVS and copy the
> > > > > > > > > config/platform/mpc5121 you have into that copy.  I 
> > > > > > > > > can't guarantee this will work, but at least you'll see the 
> > > > > > > > > X11 selections.
> > > > > > > > > 
> > > > > > > > > Regards, Stuart
> > > > > > > > > 
> > > > > > > > > On Mon, 2009-02-23 at 08:54 -0500, Alexandre Paradis wrote:
> > > > > > > > > > Hi Stuart,
> > > > > > > > > > 
> > > > > > > > > > I can't find X11 in the package list.  Would I need to 
> > > > > > > > > > update ltib for them to show up?
> > > > > > > > > > 
> > > > > > > > > > Thanks,
> > > > > > > > > > 
> > > > > > > > > > --
> > > > > > > > > > Alex
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Stuart Hughes [mailto:address@hidden
> > > > > > > > > > Sent: February 23, 2009 3:52 AM
> > > > > > > > > > To: Alexandre Paradis
> > > > > > > > > > Cc: address@hidden
> > > > > > > > > > Subject: Re: [Ltib] Building xorg-server; missing 
> > > > > > > > > > dependencies?
> > > > > > > > > > 
> > > > > > > > > > Hi Alex,
> > > > > > > > > > 
> > > > > > > > > > That's the wrong way to add packages.  Run:
> > > > > > > > > > 
> > > > > > > > > > $ ./ltib -m config
> > > > > > > > > > 
> > > > > > > > > > Select:
> > > > > > > > > > 
> > > > > > > > > >     X11  --->
> > > > > > > > > >     Install X11 (X.Org 7.3)  --->
> > > > > > > > > > 
> > > > > > > > > > And all the packages needed will be turned on.  You 
> > > > > > > > > > probably want to also select some kind of window manager 
> > > > > > > > > > (enlightenment maybe).
> > > > > > > > > > Once done, save an exit then run:
> > > > > > > > > > 
> > > > > > > > > > $ ./ltib
> > > > > > > > > > 
> > > > > > > > > > NOTE: ./ltib -p <pkg> is normally only used if you're 
> > > > > > > > > > developing a single package.  See the FAQ.
> > > > > > > > > > 
> > > > > > > > > > Regards, Stuart
> > > > > > > > > > 
> > > > > > > > > > On Fri, 2009-02-20 at 15:45 -0500, Alexandre Paradis wrote:
> > > > > > > > > > > Hi,
> > > > > > > > > > > 
> > > > > > > > > > > I need to build the xorg-server package, but I seem 
> > > > > > > > > > > to be missing some needed packages.
> > > > > > > > > > > 
> > > > > > > > > > > I'm currently using LTIB from a Freescale BSP for the 
> > > > > > > > > > > MPC5121:
> > > > > > > > > > > 
> > > > > > > > > > >   address@hidden
> > > > > > > > > > > ~/ltib/ltib-mpc5121ads-20081208/config/userspace $ 
> > > > > > > > > > > cat ../../RELEASE_INFO
> > > > > > > > > > >   Release date = Fri Feb 20 20:20:58 2009 UTC
> > > > > > > > > > >   Release user = alex
> > > > > > > > > > >   Release host = dev-station
> > > > > > > > > > >   Release dir  = /home/alex/ltib/ltib-mpc5121ads-20081208
> > > > > > > > > > >   CVS wtag     = none
> > > > > > > > > > >   CVS tag      = none
> > > > > > > > > > >   Release tag  = none
> > > > > > > > > > >   App version  = 8.1.2
> > > > > > > > > > >   CVS version  = 1.421.4.1
> > > > > > > > > > >   git version  = none
> > > > > > > > > > > 
> > > > > > > > > > > I successfully added the some dependent packages 
> > > > > > > > > > > using the following
> > > > > > > > > > > commands:
> > > > > > > > > > > 
> > > > > > > > > > >   ./ltib -p pixman.spec
> > > > > > > > > > >   ./ltib -p randrproto.spec
> > > > > > > > > > >   ./ltib -p renderproto.spec
> > > > > > > > > > >   ./ltib -p fixesproto.spec
> > > > > > > > > > >   ./ltib -p damageproto.spec
> > > > > > > > > > >   ./ltib -p xcmiscproto.spec
> > > > > > > > > > >   ./ltib -p extproto.spec
> > > > > > > > > > >   ./ltib -p xproto.spec
> > > > > > > > > > >   ./ltib -p xtrans.spec
> > > > > > > > > > >   ./ltib -p scrnsaverproto.spec
> > > > > > > > > > >   ./ltib -p bigreqsproto.spec
> > > > > > > > > > >   ./ltib -p resourceproto.spec
> > > > > > > > > > >   ./ltib -p fontsproto.spec
> > > > > > > > > > >   ./ltib -p inputproto.spec
> > > > > > > > > > >   ./ltib -p kbproto.spec
> > > > > > > > > > >   ./ltib -p videoproto.spec
> > > > > > > > > > >   ./ltib -p compositeproto.spec
> > > > > > > > > > >   ./ltib -p recordproto.spec
> > > > > > > > > > >   ./ltib -p resourceproto.spec
> > > > > > > > > > > 
> > > > > > > > > > > However.. I'm still missing a couple of packages 
> > > > > > > > > > > which I can't seem to find on the GPP, mainly 'xkbfile', 
> > > > > > > > > > > 'xfont', 'xau' and 'fontenc'.
> > > > > > > > > > > 
> > > > > > > > > > > Where can I find these? Do I need to get them from a 
> > > > > > > > > > > source tarball, and create my own package along with a 
> > > > > > > > > > > .spec file?
> > > > > > > > > > > 
> > > > > > > > > > > Any help is greatly appreciated.
> > > > > > > > > > > 
> > > > > > > > > > > Thanks!
> > > > > > > > > > > 
> > > > > > > > > > > --
> > > > > > > > > > > Alexandre Paradis
> > > > > > > > > > > 
> > > > > > > > > > > Alexandre Paradis, Technology Architect / Architecte 
> > > > > > > > > > > technologique
> > > > > > > > > > > 
> > > > > > > > > > > bluberi gaming technologies inc.
> > > > > > > > > > > Drummondville, Quebec  Canada
> > > > > > > > > > > 819.475.5155 (telephone) 819.475.5156 (fax) 
> > > > > > > > > > > bluberi.com
> > > > > > > > > > >  
> > > > > > > > > > > ----------------------------------------------------
> > > > > > > > > > > ------------
> > > > > > > > > > > --
> > > > > > > > > > > -------- This e-mail and any attachments transmitted 
> > > > > > > > > > > with it are personal, privileged and confidential and 
> > > > > > > > > > > solely for the use of the individual to whom they are 
> > > > > > > > > > > addressed and intended. If you have received this e-mail 
> > > > > > > > > > > in error, please notify the sender by return e-mail. If 
> > > > > > > > > > > you are not the intended recipient or if you believe that 
> > > > > > > > > > > you are not, you are hereby notified that the 
> > > > > > > > > > > dissemination, distribution, plagiarism or copying of 
> > > > > > > > > > > this e-mail and attachments transmitted with it is 
> > > > > > > > > > > strictly prohibited. NOTICE: We have taken reasonable 
> > > > > > > > > > > precautions to prevent viruses from being present in this 
> > > > > > > > > > > e-mail. We do not accept responsibility for any loss or 
> > > > > > > > > > > damage arising from the use of this e-mail or attachments.
> > > > > > > > > > >  
> > > > > > > > > > > Ce courriel et les pièces jointes s’y rattachant sont de 
> > > > > > > > > > > nature personnelle, privilégiée et confidentielle et pour 
> > > > > > > > > > > l’usage exclusif du destinataire à qui ils sont adressés 
> > > > > > > > > > > et destinés. Si vous avez reçu ce courriel par erreur, 
> > > > > > > > > > > veuillez s’il vous plaît le renvoyer à l’expéditeur. Si 
> > > > > > > > > > > vous n’êtes pas le bon destinataire ou si vous croyez ne 
> > > > > > > > > > > pas l’être, nous vous informons immédiatement que la 
> > > > > > > > > > > publication, distribution, diffusion, copie ou plagiat de 
> > > > > > > > > > > ce courriel et de ses pièces jointes sont strictement 
> > > > > > > > > > > interdits. AVERTISSEMENT : Nous avons pris des mesures 
> > > > > > > > > > > raisonnables afin de prévenir toute propagation de virus 
> > > > > > > > > > > par le biais de ce courriel. Nous n’accepterons donc 
> > > > > > > > > > > aucune responsabilité pour des dommages ou pertes 
> > > > > > > > > > > provenant de l’utilisation de ce courriel ou de ses 
> > > > > > > > > > > pièces jointes.
> > > > > > > > > > > ----------------------------------------------------
> > > > > > > > > > > ------------
> > > > > > > > > > > --
> > > > > > > > > > > --------
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > _______________________________________________
> > > > > > > > > > > LTIB home page: http://bitshrine.org
> > > > > > > > > > > 
> > > > > > > > > > > Ltib mailing list
> > > > > > > > > > > address@hidden
> > > > > > > > > > > http://lists.nongnu.org/mailman/listinfo/ltib
> > > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > > _______________________________________________
> > > > > > LTIB home page: http://bitshrine.org
> > > > > > 
> > > > > > Ltib mailing list
> > > > > > address@hidden
> > > > > > http://lists.nongnu.org/mailman/listinfo/ltib
> > > > > 
> > > > > _______________________________________________
> > > > > LTIB home page: http://bitshrine.org
> > > > > 
> > > > > Ltib mailing list
> > > > > address@hidden
> > > > > http://lists.nongnu.org/mailman/listinfo/ltib
> > > > 
> > > 
> > 
> _______________________________________________
> LTIB home page: http://bitshrine.org
> 
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

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