[Top][All Lists]
[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: |
Wed, 04 Mar 2009 08:40:03 +0000 |
Hi Hamilton,
Thanks for the update, glad it's working now. Hopefully Alan's advice
will get your touchscreen working.
Maybe when you're finished you can make a patch with your changes and
send a note about how to set this up. I can then try to integrate it so
that the knowledge is shared.
Regards, Stuart
On Tue, 2009-03-03 at 16:54 -0300, Hamilton Vera wrote:
> Hi Stuart, thanks for everything.
>
> E17 is now running on iMX27, I don know exactly what I did, I've
> modified some files, the last one was
>
> ./BUILD/xorg-server-1.4.2.mod/hw/kdrive/src/kmode.c
>
> I just add the mode 240X320
>
>
> { 240, 320, 60, 16256,
> 17, 12, 32, KdSyncNegative,
> 1, 11, 14, KdSyncNegative,
> },
>
> I will try to build everything step by step to verify.
>
> Now I need to make the touchscreen work. When I start the Xfbdev i got
> the message "selected device is not a touchscreen I understand"
>
> Xfbdev -screen 240x320x60 -mouse tslib,,device=/dev/ts
> _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
> _XSERVTransOpen: transport open failed for inet6/mxt01:0
> _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
> (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base <*>
> MXC touchscreen input driver
> Couldn't find keyboard driver keybd
> selected device is not a touchscreen I understand
>
>
> I have compiled the kernel with TS support
>
> <*> MXC touchscreen input driver
>
> The Qtopia TouchScreen is working pretty fine.
>
> Thanks once more.
>
>
> On Tue, Mar 3, 2009 at 5:49 AM, Stuart Hughes <address@hidden> wrote:
> > Hi Hamilton,
> >
> > Not sure what's happening here. Are you sure you built the X server
> > without ts support?
> >
> > A couple of suggestions:
> >
> > * try this from an ssh login session, that way you keep your terminal
> > for control. You can then run each step by hand. For example, start
> > Xfbdev and make sure that looks right (X with no window manager) and
> > then start the wm.
> >
> > * Instead of enlightenment, try twm to start, that's simpler and may
> > show up what's going wrong.
> >
> > Regards, Stuart
> >
> > On Mon, 2009-03-02 at 19:46 -0300, Hamilton Vera wrote:
> >> Hi Stuart, thanks for helping
> >>
> >> I changed your script to the following
> >>
> >>
> >> cat /usr/bin/startx
> >>
> >> #!/bin/sh
> >> ln -s /dev/vc/0 /dev/tty0
> >> ln -s /dev/vc/1 /dev/tty1
> >> ln -s /dev/vc/2 /dev/tty2
> >> #Xfbdev -screen 480x640x16 -mouse tslib,,device=/dev/ts &
> >> Xfbdev -ac -mouse mouse -keybd keyboard &
> >> sleep 3
> >> DISPLAY=:0 enlightenment_start
> >> killall Xfbdev
> >>
> >>
> >> It does not work yet, the screen just get gray.
> >>
> >> I've compiled all E17 and X11 packages
> >>
> >>
> >> Here goes the output
> >>
> >> >>>
> >> _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
> >> _XSERVTransOpen: transport open failed for inet6/freescale:0
> >> _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
> >> (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
> >> Couldn't find keyboard driver keybd
> >> (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
> >> E - PID=1783, do_precache=0
> >> ESTART: 0.00007 [0.00007] - begin
> >> ESTART: 0.00162 [0.00155] - signals done
> >> ESTART: 0.00376 [0.00214] - determine prefix
> >> DYNAMIC DETERMINED PREFIX: /usr
> >> ESTART: 0.01592 [0.01216] - prefix done
> >> ESTART: 0.01701 [0.00109] - intl init
> >> ESTART: 0.01810 [0.00109] - parse args
> >> ESTART: 0.01849 [0.00038] - arg parse done
> >> ESTART: 0.02191 [0.00342] - ecore init
> >> ESTART: 0.03037 [0.00846] - ecore_file init
> >> ESTART: 0.03218 [0.00181] - more ecore
> >> ESTART: 0.03267 [0.00049] - x connect
> >> ESTART: 0.10584 [0.07317] - ecore_con
> >> ESTART: 0.10704 [0.00120] - xinerama
> >> E17 INIT: XINERAMA CHOSEN: [0], 480x640+0+0
> >> ESTART: 0.11118 [0.00414] - x hints
> >> ESTART: 0.11769 [0.00651] - x hints done
> >> ESTART: 0.11792 [0.00023] - ecore_evas init
> >> ESTART: 0.14957 [0.03165] - test done
> >> ESTART: 0.14995 [0.00038] - efreet
> >> ESTART: 0.15595 [0.00600] - efreet done
> >> ESTART: 0.15640 [0.00045] - configure
> >> ESTART: 0.15803 [0.00163] - dirs
> >> ESTART: 0.18625 [0.02823] - filereg
> >> ESTART: 0.18669 [0.00044] - config
> >> ESTART: 0.22035 [0.03366] - scale
> >> ESTART: 0.22118 [0.00082] - pointer
> >> ESTART: 0.22148 [0.00030] - path
> >> ESTART: 0.22262 [0.00114] - ipc
> >> INFO: E_IPC_SOCKET=/tmp/enlightenment-root/disp-:0.0-1783
> >> ESTART: 0.23067 [0.00805] - font
> >> ESTART: 0.23279 [0.00212] - theme
> >> ESTART: 0.33171 [0.09891] - splash
> >> RUN INIT: /usr/bin/enlightenment_init
> >> '/usr/share/enlightenment/data/init/default.edj' '1' '0'
> >> 'Enlightenment' '0.16.999.050'
> >> E17 INIT: XINERAMA CHOSEN: [0], 480x640+0+0
> >> ESTART: 9.04460 [8.71289] - test file format support
> >> ESTART: 9.23795 [0.19335] - msgbus
> >> ESTART: 9.23845 [0.00050] - intl post
> >> ESTART: 9.29538 [0.05692] - efreet paths
> >> ESTART: 9.29673 [0.00135] - efreet paths done
> >> ESTART: 9.29715 [0.00043] - thumb init
> >> ESTART: 9.29751 [0.00035] - sys init
> >> ESTART: 9.29794 [0.00043] - actions
> >> ESTART: 9.30532 [0.00738] - bindings
> >> ESTART: 9.30764 [0.00232] - popup
> >> ESTART: 9.30802 [0.00038] - bg
> >> ESTART: 9.30869 [0.00066] - screens
> >> ESTART: 9.30888 [0.00020] - screens: atoms
> >> ESTART: 9.31215 [0.00326] - screens: manager
> >> ESTART: 9.31261 [0.00046] - screens: container
> >> ESTART: 9.31292 [0.00031] - screens: zone
> >> ESTART: 9.31314 [0.00022] - screens: desk
> >> ESTART: 9.31330 [0.00015] - screens: menu
> >> ESTART: 9.31352 [0.00022] - screens: exehist
> >> ESTART: 9.31390 [0.00039] - screens: get roots
> >> ESTART: 9.31413 [0.00023] - screens: focus
> >> ESTART: 9.31428 [0.00015] - screens: border
> >> ESTART: 9.31477 [0.00049] - screens: win
> >> ESTART: 9.31501 [0.00025] - screens: manage roots
> >> ESTART: 10.51326 [1.19824] - screens: sync
> >> ESTART: 10.51504 [0.00179] - exec
> >> ESTART: 10.51544 [0.00040] - remember
> >> ESTART: 10.51563 [0.00020] - container freeze
> >> ESTART: 10.51611 [0.00048] - fm2
> >> ESTART: 10.53875 [0.02264] - msg
> >> ESTART: 10.53925 [0.00051] - dnd
> >> ESTART: 10.53968 [0.00043] - grabinput
> >> ESTART: 10.53994 [0.00026] - modules
> >> ESTART: 10.54016 [0.00022] - colorclasses
> >> ESTART: 10.54053 [0.00036] - gadcon
> >> ESTART: 10.54076 [0.00023] - shelves
> >> ESTART: 10.54105 [0.00029] - dpms
> >> ESTART: 10.54170 [0.00065] - screensaver
> >> ESTART: 10.54231 [0.00061] - mouse
> >> ESTART: 10.54437 [0.00206] - desklock
> >> ESTART: 10.54503 [0.00066] - order
> >> ESTART: 10.54531 [0.00028] - powersave
> >> ESTART: 10.54550 [0.00019] - add idle enterers
> >> ESTART: 10.55083 [0.00533] - init properites
> >> ESTART: 10.55239 [0.00156] - test code
> >> ESTART: 10.55269 [0.00031] - load modules
> >> ESTART: 10.98668 [0.43399] - shelf config init
> >> ESTART: 12.18039 [1.19371] - MAIN LOOP AT LAST
> >> ESTART: 13.78741 [1.60702] - SLEEP
> >> DYNAMIC DETERMINED PREFIX: /usr
> >> <<<
> >>
> >> If I hit the ctrl+c
> >> <<<< Enlightenment Error >>>>
> >> Lost X connection.
> >> Can't deallocate console 2 errno 16
> >> killall: Xfbdev: no process killed
> >>
> >>
> >> I am reviewing my steps, but no hint yet. Still working on iMX27 :)
> >>
> >> I appreciate any help
> >>
> >> Thanks very much.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Sat, Feb 28, 2009 at 7:21 AM, Stuart Hughes <address@hidden> wrote:
> >> > Hi Hamilton,
> >> >
> >> > Unfortunately that BSP chooses to override the main skell package in
> >> > it's pkg_map. The standard one has startx.
> >> >
> >> > For now, simply add this into your rootfs (you could locally add it as
> >> > an extra source to the skell you use):
> >> >
> >> > #!/bin/sh
> >> >
> >> > Xfbdev -ac -mouse mouse -keybd keyboard &
> >> > sleep 3
> >> > DISPLAY=:0 twm
> >> > killall Xfbdev
> >> >
> >> > Regards, Stuart
> >> >
> >> >
> >> > On Fri, 2009-02-27 at 17:01 -0300, Hamilton Vera wrote:
> >> >> Hi Stuart, where can I find the "startx" program?
> >> >>
> >> >> I am testing the same packages for iMX27.
> >> >>
> >> >> Do I need to build the " build full Xorg (experimental only)" to make
> >> >> it work?
> >> >>
> >> >> Till now, no problem with the evas package.
> >> >>
> >> >> Thanks in advance.
> >> >>
> >> >> On Thu, Feb 26, 2009 at 2:48 PM, Stuart Hughes <address@hidden> wrote:
> >> >> > 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:/opt/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/X11R6/bin
> >> >> >> > +
> >> >> >> > PATH=/home/seh/ltib_bsps/savannah_ltib/bin:/opt/ltib/usr/bin:/opt/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/X11R6/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:/home/alex/savan
> >> >> >> > > > +
> >> >> >> > > > nah/ltib/bin:/opt/ltib/usr/bin:/opt/freescale/usr/local/gcc-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:/home/alex/savan
> >> >> >> > > > +
> >> >> >> > > > nah/ltib/bin:/opt/ltib/usr/bin:/opt/freescale/usr/local/gcc-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
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >>
> >
> >
>
>
>
- Re: [Ltib] Building xorg-server; missing dependencies?, Hamilton Vera, 2009/03/02
- Re: [Ltib] Building xorg-server; missing dependencies?,
Stuart Hughes <=
- Re: [Ltib] Building xorg-server; missing dependencies?, Hamilton Vera, 2009/03/04
- Re: [Ltib] Building xorg-server; missing dependencies?, Alan Carvalho de Assis, 2009/03/04
- Re: [Ltib] Building xorg-server; missing dependencies?, Hamilton Vera, 2009/03/04
- Re: [Ltib] Building xorg-server; missing dependencies?, Stuart Hughes, 2009/03/05