LTIB on Ubuntu 12.04

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LTIB on Ubuntu 12.04

42,463 Views
rheine
Contributor I

Hello, I was trying to install an the LTIB on Ubuntu 12.04. I have got through all of the package installs and changed the Ltibutils.pm to find the glibc-devel and zlib. I am stuck when running it errors with a host_config.log that contains only this:

rpmdb: --force-debian: unknown option
Died at ./ltib line 2337.
traceback:
 main::setup_rpmdb:2337
  main::check_rpm_setup:2400
   main::host_checks:1423
    main:542


Started: Tue Aug  7 11:15:31 2012
Ended:   Tue Aug  7 11:15:31 2012
Elapsed: 0 seconds


Build Failed

47 Replies

4,528 Views
phil_martin
Contributor II

Has anyone got LTIB on 12.04 running yet?

- I'm trying to get LTIB on 10.4, having problems

- so need to decide if 12.04 is a better way to go ...

This is for Sabre SDB, using L3.0.35_4.0.0_130424_images_MX6

Equally, is 13.04 a better way to go?

Thanks,

Phil

0 Kudos
Reply

4,528 Views
LeonardoSandova
Specialist I

Hi Philip, if you get the *_images_* tarball, there is no need to use LTIB. Just Flash the images according the User Guide in any Linux OS you want.

Leo

0 Kudos
Reply

4,528 Views
phil_martin
Contributor II

Good news!

- I got it to build ok on 10.4!

Before I tried the LTIB build, I did get the board booting into Ubuntu using the 'images' tar

- then LTIB build was the next logical step.

I'd now like to get it building under 12.04, as this is most likely a better platform going forward (since it's still supported)

- just to confirm, with BSP 4.0.0, no patches are necessary??

0 Kudos
Reply

4,528 Views
Joerg-SH
Contributor III

Hello Phillip,

did You make it work under Ubuntu 12.04?

Joerg

0 Kudos
Reply

4,528 Views
phil_martin
Contributor II

I haven't yet

- sticking with 10.04 for now

- virtualbox 4.2.12 also had a problem with 12.04, so I stuck with 10.04

- that problem may be fixed in 4.2.14, but I haven't tried it yet...

0 Kudos
Reply

4,527 Views
LeonardoSandova
Specialist I

No need. The patch was ONLY necessary for older BSP versions.

Leo

0 Kudos
Reply

4,528 Views
billyang
Contributor III

Hi Leo,

I am just wondering if I got right place to post my issue regarding not found the ssl/tls certificate on my ltib. I have litb bsp runs on imx6 target board. I have a qt app to send the mail to smtp.gmail.com using sslsocket. since smtp.gmail.com always uses ssl/tls certificate to verify the email received, so the send email failed during hand-shack, because the ltib does not have any ssl/tls certificates loaded.

So my question;

1) does ltib load ssl/tls certificates?

2) why I could not find the ssl/tls certificates and openssl.conf file?

3) do you have any information about the ssl/ltib certificate installation and generation for ltib?

Thanks,

-Bill Yang

0 Kudos
Reply

4,528 Views
LeonardoSandova
Specialist I

Hi Bill,

No idea, but please post your question into a new discussion thread.

Leo

0 Kudos
Reply

4,528 Views
billyang
Contributor III

Thanks Leo, I will post ssl/lts certificate question to a new discussion thread.

However, I had a building LTIB failure issue. I am tried re-build the LTIB BSP that was built in last year successfully, but now it failed as the error message below.

**** WARNING: Building without libstartup-notification

checking for EEL... configure: error: Package requirements (

    gail            >= 0.16

    gconf-2.0        >= 1.1.11

    gdk-pixbuf-2.0        >= 2

    glib-2.0        >= 2.15.0

    gio-2.0

    gthread-2.0        >= 2.15.0

    gtk+-2.0        >= 2.9.4

    libglade-2.0        >= 2.0.0

    libgnome-2.0        >= 2.23.0

    libgnomeui-2.0        >= 2.7.92

    gnome-desktop-2.0    >= 2.23.3

    libxml-2.0        >= 2.4.7

) were not met:

No package 'gail' found

No package 'gconf-2.0' found

No package 'gdk-pixbuf-2.0' found

No package 'gtk+-2.0' found

No package 'libglade-2.0' found

No package 'libgnome-2.0' found

No package 'libgnomeui-2.0' found

No package 'gnome-desktop-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables EEL_CFLAGS

and EEL_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

error: Bad exit status from /home/byang/ltib/tmp/rpm-tmp.12726 (%build)

I have no idea what the EEL error means. Can you help me to figure out this issue?

thanks,

-Bill

0 Kudos
Reply

4,528 Views
LeonardoSandova
Specialist I

I have seen those. which package are you building? I assume you are compiling under Ubuntu 12.XX, right?

0 Kudos
Reply

4,528 Views
larryharmon
Contributor II

I too have been trying for days to get ltib to work.

I have tried Ubuntu 12.04, 10.04 and Fedora 12

The closest I got was Ubuntu 10.04, but the squashfs was not built.

What is the point of Open source if the sources don't build?

Why can't Freescale provide a VM with the tools correctly installed and working?


0 Kudos
Reply

4,527 Views
phil_martin
Contributor II

Hi Larry,

I sympathize!

However, I've just got the LTIB building under 10.4!

- see

LTIB on Ubuntu 13.04

These lines seemed to sort my issues out:

2) create a soft link under /usr/include.

     sudo ln -s i386-linux-gun/sys sys

3) install additional packages.

     sudo aptitude -y install asciidoc texlive-latex-base dblatex xutils-dev

     sudo apt-get install texinfo

4) modify ltib/dist/lfs-5.1/base_libs/base_libs.spec.

     ...

     perl -w -e '

     # @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;

     # exit (0) unless @ARGV;

Hope that helps!


I will now try 12.04 ....


0 Kudos
Reply

4,528 Views
williamxu
Contributor I

Hi Philip,

Did you finished install LTIB on Ubuntu 12.04.

I have the problem on that. Would please help me.

I need to finish install LTIB soon.

William xu

0 Kudos
Reply

4,528 Views
Joerg-SH
Contributor III

Hi William,

I do on 12.04.

Follow All Boards LTIB Config Ubuntu  to setup unbutu.

Download this     L3.0.35_4.0.0_ER_SOURCE  to install ltib

Than  L3.0.35_4.0.0_AACP_CODECS and  L3.0.35_4.0.0_MM_CODECS ( to find under Middleware-Codecs and other Algorithms (4) )

Extract and copy the contend of the ltib codecs folder (do not extract) into the dpkg folder of the ltip installation.

Helpful is to have a look in L3.0.35_4.0.0_LINUX_DOCS but don't set up Ubuntu 9.04 did not realy work for me.

Do that what Eric says:

The answer seems to be simple. Go into ltib/dist/lfs/base_libs/base_libs.spec and find these lines:

     # remove absolute paths from text search files (if they exist)

     perl -w -e '

         @ARGV = grep { `file $_` =~ m,ASCII C program text, } @ARGV;

         exit(0) unless @ARGV;

Remove the last two (the lines beginning with "@ARGV" and "exit(0)" and you should be good to go.


By the first run the maybe some fault.  It is helpful to copy that and use the search function here.

Joerg

0 Kudos
Reply

4,528 Views
williamxu
Contributor I

Hi joergboge,

I follow your instruction to download  L3.0.35_4.0.0_ER_SOURCE to install LTIB.

I have been successful to install it to Ubuntu 12.04.I run ./ltib -c and choose imx6q as the target board.I got succeeded.

But I can not compile the imx53_loco board.Because no linux-2.6.35 in this LTIB.

How can I run it.

Please help me.

regards!

william

0 Kudos
Reply

4,528 Views
Joerg-SH
Contributor III

Sorry I have a i.mx6 board- for that it works. maybe You have to download a other source.

0 Kudos
Reply

4,528 Views
williamxu
Contributor I

Hi Joerg,

 

Thanks a lot.

 

I will try today.

 

William xu

0 Kudos
Reply

4,528 Views
phil_martin
Contributor II

Sorry, I never got round to trying on 12.04

- at the time I found VirtualBox v4.2.12 had a problem with ubuntu 12.04

- so, I stayed with 10.4

- I believe VirtualBox v4.2.14 fixes the ubuntu 12.04 problem

- but I have not gone back to it, as I seem to be ok on 10.4 at the moment

If I was you, I would try 10.4

- install all the upgrade packages

- also make sure you do steps 2) - 4) that I did above....

That may help you figure out the steps for 12.04 if you still need to go to that...

IIRCC, I did the standard 9.04 steps for 10.4, then when that failed, I did 2) - 4) above, and that got it going...

I assume that LTIB on Ubuntu 13.04 didn't work on 12.04 for you?

0 Kudos
Reply

4,528 Views
williamxu
Contributor I

Thanks a lot.i will try 10.04.

Sent from my iPhone

0 Kudos
Reply

4,486 Views
LeonardoSandova
Specialist I

Hi Larry,

I understand LTIB can be frustrating sometimes. Please send any error you have find. On 10.04. you should not have any problem.

0 Kudos
Reply