Author Topic: Help compile minimo  (Read 5254 times)

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« on: April 16, 2004, 08:52:09 pm »
Many people want minimo, and I\'ve been trying for quite a few hours to compile it for pdaXrom.  Unfortunately I don\'t have a clue what I am doing and need some serious help from you guys.  I\'ve gotten as far as my limit knowledge of linux will allow me.

I have the pdaXrom sdk installed from pdaxrom.org

here are a couple of good links, you\'ll want to read through them:
http://www.mozilla.org/projects/minimo/bui...uild-cross.html
http://www.mozilla.org/projects/minimo/build.html

These are the steps I have figured out.  I\'m going to need some help getting any further.

Grab the latest mozillasource from the cvs as explained here:
http://www.mozilla.org/cvs.html

Then from the directory your mozilla dir is in:

cp mozilla/embedding/minimo/mozconfig mozilla/  (very important)

You need to install this to your linux box:
http://www.mozilla.org/projects/minimo/bui...-cross.html#pkg

Just do what it says, then

export PKG_CONFIG=/opt/toolchain/arm-linux/local/bin/pkg-config

export PKG_CONFIG_PATH=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib/pkgconfig:/opt/arm/3.3.2/arm5tel-cacko-linux/lib/pkgconfig

The configure command:

./configure --host=armv5tel-cacko-linux --build=i686-linux --x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include --x-libraries=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib --disable-debug --prefix=/usr/local  --without-libIDL --disable-mailnews --enable-optimize

There error I am getting is:

Code: [Select]
configure: error:  Could not find the following X libraries:  -lX11 -lXext -lXt

I don\'t have a clue where to go from here...

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« Reply #1 on: April 16, 2004, 11:13:05 pm »
ok.. well, I am currently rebuilding xfree86 for the includes and lib files.  Maybe there is something in there that the configure script is looking for that isn\'t part of the pdaXrom sdk.

still looking for some help here...

pmf

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Help compile minimo
« Reply #2 on: April 17, 2004, 01:15:49 am »
Quote
export PKG_CONFIG=/opt/toolchain/arm-linux/local/bin/pkg-config

export PKG_CONFIG_PATH=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib/pkgconfig:/opt/arm/3.3.2/arm5tel-cacko-linux/lib/pkgconfig

The configure command:

./configure --host=armv5tel-cacko-linux --build=i686-linux --x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include --x-libraries=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib --disable-debug --prefix=/usr/local  --without-libIDL --disable-mailnews --enable-optimize

There error I am getting is:

Code: [Select]
configure: error:  Could not find the following X libraries:  -lX11 -lXext -lXt

Did you change the settings in mozconfig? I had to change the LIBS= line from
Code: [Select]
LIBS= -lsupc++ to
Code: [Select]
LIBS= -lsupc++ -L/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib -lX11 -lXt -lXext.

Did you use embedding/minimo/mozconfig or embedding/minimo/mozconfig-arm?

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« Reply #3 on: April 17, 2004, 01:32:27 am »
I used mozconfig.

Thanks for the tips, about to try it out.

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Help compile minimo
« Reply #4 on: April 17, 2004, 09:57:47 am »
http://www.haldhelds.org/~mallum/minimo/

is that an old[er] build? does it even work on the zaurus?

Scott

obs1

  • Newbie
  • *
  • Posts: 26
    • View Profile
Help compile minimo
« Reply #5 on: April 17, 2004, 10:06:09 am »
AFAIK that arm binary (on mallum\'s site) wsa compiled for a different version of glibc

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« Reply #6 on: April 17, 2004, 12:06:51 pm »
pmf: I\'m still getting the same error while running configure.  Were you able to get it to run without any errors?  If so, can you post your mozconfig file and paste the flags you used with the configure script?


Quote
http://www.haldhelds.org/~mallum/minimo/

is that an old[er] build? does it even work on the zaurus?

Scott

Quote
AFAIK that arm binary (on mallum\'s site) wsa compiled for a different version of glibc

obs1 is correct.  I tried it yesterday, different glibc

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« Reply #7 on: April 17, 2004, 10:29:25 pm »
Come\'on ya\'ll.. I\'m not gonna let this thread die

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« Reply #8 on: May 06, 2004, 05:28:02 pm »
Update:  I started working on this again this week and have had some success, though I made some human errors during the compile and am having to start over.

The good news is, even with my errors the binaries that make spit out for me worked.  I was pretty much useless though (no scroll bars, ssl, ftp, etc...)  Google looked good

Mozilla isn\'t exactly a quick build.  The last make process took almost 24 hours.  I\'m doing the compiling on my zaurus, not exactly the ideal hardware for the job.  I broke pdaxrom in the process, which was a let down because I had it running exactly as I wanted it.

Unless something goes very wrong expect a minimo ipk by the end of the weekend.

philo

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • http://
Help compile minimo
« Reply #9 on: May 06, 2004, 06:16:30 pm »
very cool corey.  does minimo come with a calender app?

philo
c760 | pdaxrom 1.1.0 rc9.1
symbol spectrum24 wifi | sdg aerlink for motorola v66
pny 512mb sd

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« Reply #10 on: May 06, 2004, 06:52:04 pm »
philo,

No, minimo is a stripped down version of the Mozilla web browser.

philo

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • http://
Help compile minimo
« Reply #11 on: May 06, 2004, 07:39:10 pm »
oh.  whay not just use the firefox that the pdaxrom guys made?

and any chance that someone will do thunderbird?

philo
c760 | pdaxrom 1.1.0 rc9.1
symbol spectrum24 wifi | sdg aerlink for motorola v66
pny 512mb sd

CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« Reply #12 on: May 06, 2004, 08:04:31 pm »
Quote
oh.  whay not just use the firefox that the pdaxrom guys made?

and any chance that someone will do thunderbird?

philo


Minimo is much more lightweight than firefox, and shouldn\'t take 30 seconds to load.

http://www.mozilla.org/projects/minimo/scr...creenshots.html


CoreyC

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
    • http://
Help compile minimo
« Reply #14 on: May 07, 2004, 12:46:44 am »
sashz: That works, thank you.

I\'m going to finish my build of the source and try to find a few tweaks.  I believe there is a way to rebuild TestGtkEmbed to disable popups.  If not, I know javascript can be diabled to avoid them.