Jump to content


Photo

Yactfeau


  • Please log in to reply
113 replies to this topic

#46 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 10 March 2011 - 11:40 AM

It's producing a PND that appears to be valid, displays on the Pandora desktop and all that. But it's only 6.5kB, and of course will not run. Any idea what I'm missing here?

You're, indeed, missing a part.
pndmakeauto take the files from $PND_BASEDIR/$PRJ. PRJ is set by setprj to invader in your case. PND_BASEDIR default to /mnt/utmp. That's also where the binaries are installed while running "make install".

Your file are not in this directory so pndmakeauto create an empty PND ;)
Where you're (un)lucky is that genpxml should not even work as it wont create the directory for you.

#47 Gruso

Gruso

    thunderbox

  • X-treme Team
  • 5538 posts
  • Gender:Male
  • Location:Sydney, Australia

Posted 10 March 2011 - 12:21 PM

Ah thank you :) Shuffled some files manually and I now have an actual PND. Now to get the Ginge scripting right... that's for another thread.

#48 Farox

Farox

    GP Mania

  • GP Guru
  • 496 posts
  • Gender:Male
  • Location:Italy
  • Interests:Pandora
    GP2X
    Caanoo

Posted 13 March 2011 - 06:24 PM

A little tip using the VirtualBox image on sharing file between Win (XP in my case as Host) and Linux (ubuntu as Guest machine emulated in this image).

If you want to share files from the 2 system you have first create a directory in the host (let say on Desktop..)
Next start up VirtualBox and start the virtual machine.
From the menu of VirtualBox select Device/Shared Folders and select the dir just created on your Desktop.
Remember to check the option to make permanent this folder and automount this at startup.

Now inside Ubuntu we need to change group ...select System/Administration/Users & Group and change User account type from custom to Administrator .
Now select advanced settings and in Advance tab change Main Group from devel to vboxsf.
Now you can share files between the 2 system.

I hope this is usefull for someone newbee like me (i have lost some hours to try to find a solution)... :)

#49 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 14 March 2011 - 02:14 AM

Update :
  • Tested on many apps (fixed tons of libraries issues)
  • include the qmake definition into the package and fix pndqmake
  • fix cmake usage
  • libmpfr and libgmp are available in a dedicated directory
  • added Ivanovic's wrapper scripts
  • Installable anywhere
(first post updated for installation information)

How to update:

  • Download the SDK file (torrent) (check the file size)
  • Drop previous installation :
    rm -rf /usr/local/angstrom/arm/*
  • extract it (you'll need either to be root, or have created the directory /usr/local/angstrom/arm and give read/write to the user extracting) :
    tar -C /usr/local/angstrom/arm -xjf pandora-toolchain-20110313.tar.bz2
  • Fix the file permission :
    sudo chown -R <your-name>.<your-name> /usr/local/angstrom/arm
  • Run the installer
    /usr/local/angstrom/arm/scripts/installer.sh
EDIT: added torrent (thanks myownlittlworld)

Edited by sebt3, 14 March 2011 - 02:58 AM.


#50 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 14 March 2011 - 06:42 AM

Will see, if I can try this today. Thank you very much for your work here!

#51 Gruso

Gruso

    thunderbox

  • X-treme Team
  • 5538 posts
  • Gender:Male
  • Location:Sydney, Australia

Posted 14 March 2011 - 08:23 AM

Excellent, thanks sebt3. Grabbed the torrent, will keep seeded.

#52 Farox

Farox

    GP Mania

  • GP Guru
  • 496 posts
  • Gender:Male
  • Location:Italy
  • Interests:Pandora
    GP2X
    Caanoo

Posted 14 March 2011 - 05:35 PM

@ Sebt3
i see that the Virtualbox image is outdated now...could i install the new SDK on this image in order to update this ?

#53 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 14 March 2011 - 05:44 PM

i see that the Virtualbox image is outdated now...could i install the new SDK on this image in order to update this ?

I'm planning to update the VMWare image. In fact, it would be done if I didnt forgot to install squashfs-tools on it before shutdown...

But yeah, like every other install, the one in the image could be updated with the procedure I posted yesterday ;)

#54 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 15 March 2011 - 03:53 PM

The VMware image have been updated : http://sebt3.openpandora.org/buildtools/?f=pandora-toolchain-virtualbox-20110313.vdi.7z

#55 Gruso

Gruso

    thunderbox

  • X-treme Team
  • 5538 posts
  • Gender:Male
  • Location:Sydney, Australia

Posted 16 March 2011 - 10:44 AM

Ok, three in a row. Sorry. :D All are DJ/mixing apps.

dbmix - http://sourceforge.net/projects/dbmix/
Error:
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***

gdam - http://sourceforge.net/projects/gdam/ (ancient)
Error:
checking for GTK - version >= 1.2.5... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Cannot find Gtk - gtk-config missing from path?

djplay - http://djplay.sourceforge.net/
Error:
checking for main in -lqt-mt... no
configure: error: Qt library not found. Maybe QTDIR isn't properly set. You may need to use --with-qt-includes and --wit-qt-libs.

I'm sure everthing is present. I've bluffed my way through adding a couple of missing things before, but these ones have me stumped.

#56 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 16 March 2011 - 12:51 PM

First two: Use a very old glib/gtk version 1.x they are very outdated apps. There are packages in the angstrom repositories, that provide these, but they are not on the nand.

Last: is there a *.pro file? then i would use pndqmake -> make to compile. Configure doesn't set up the right environment for qtapps.
or just do what it says and set the flags accordingly to the qt libs and headers.

Edited by mcobit, 16 March 2011 - 12:55 PM.


#57 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 16 March 2011 - 01:03 PM

dbmix - http://sourceforge.net/projects/dbmix/
Error:

checking for glib-config... no
 checking for GLIB - version >= 1.2.0... no
 *** The glib-config script installed by GLIB could not be found
 *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
 *** your path, or set the GLIB_CONFIG environment variable to the
 *** full path to glib-config.
 configure: error: *** GLIB >= 1.2.2 not installed - please install first ***

gdam - http://sourceforge.net/projects/gdam/ (ancient)
Error:
checking for GTK - version >= 1.2.5... no
 *** The gtk-config script installed by GTK could not be found
 *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
 *** your path, or set the GTK_CONFIG environment variable to the
 *** full path to gtk-config.
 configure: error: Cannot find Gtk - gtk-config missing from path?

gtk-config and glib-config are things from the past and not part of the distribution of glib nor gtk since age. But with the release date of these, I'm not surprised.
I'm planning a "script-fix"(which should only include the script fixed), I'll try to add thoses for you (if I find the original files, apt-file search report nothing :( ) .
But I'm guessing you'll have other issues while building.

djplay - http://djplay.sourceforge.net/
Error:

checking for main in -lqt-mt... no
 configure: error: Qt library not found. Maybe QTDIR isn't properly set. You may need to use --with-qt-includes and --wit-qt-libs.

I'm sure everthing is present. I've bluffed my way through adding a couple of missing things before, but these ones have me stumped.

Once again we are with outated software. This is using qt3 (the config.log show that -lqt-mt is missing). Pandora have qt4.6. The library name changed with the switch to qt4. but the config script still check for the old name. Yet qt4 have a library named Qt3Support which could be used somehow, but that's some work.

#58 Gruso

Gruso

    thunderbox

  • X-treme Team
  • 5538 posts
  • Gender:Male
  • Location:Sydney, Australia

Posted 17 March 2011 - 01:08 AM

Thanks for all the input. :) Probably better that I try to sort these out myself, then ask for any special inclusions.

#59 Farox

Farox

    GP Mania

  • GP Guru
  • 496 posts
  • Gender:Male
  • Location:Italy
  • Interests:Pandora
    GP2X
    Caanoo

Posted 17 March 2011 - 04:46 PM

I have updated the toolchain under the old VBox image (i don't want to download again 2.5GB of data ) :) and all seems fine.
Now i wanna test somthing and after pndconfigure (all went fine) seem not find genpxml script.
So i copied from /scripts to /usr/local/angstrom/arm/bin and now work.
This apply also to pnd_make .

#60 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 17 March 2011 - 04:57 PM

I have updated the toolchain under the old VBox image (i don't want to download again 2.5GB of data ) :) and all seems fine.
Now i wanna test somthing and after pndconfigure (all went fine) seem not find genpxml script.
So i copied from /scripts to /usr/local/angstrom/arm/bin and now work.
This apply also to pnd_make .

Have run the installer script ? (it should add ..../scripts to your path)