SliTaz SliTaz Forum

You are not logged in.

#1 2015-01-20 15:34:12

h0lyRS
Member
Registered: 2015-01-20
Posts: 7

Source code depends on G++ 4.7 or later

I'm trying to package openMSX for Slitaz, but the compilation depends on g++ 4.7 or later.

Slitaz "stable" supports gcc 4.5, and the "cooking" branch supports 4.6.

What would you recommend in this case?

Thanks.

Offline

#2 2015-01-20 17:49:03

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: Source code depends on G++ 4.7 or later

You can try to install those packages (never tested by me)

http://mirror.slitaz.org/packages/undigest/gcc-4.8.1.tazpkg

http://mirror.slitaz.org/packages/undigest/gcc-lib-base-4.8.1.tazpkg

Offline

#3 2015-01-20 20:57:21

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Source code depends on G++ 4.7 or later

Downgraded to openMSX 0.10.0 and compiled on cooking/5.0

Install libsdl compiled with alsa sound support.

http://www.mediafire.com/download/cksdkc2m52kw8gs/openmsx-0.10.0.tazpkg

http://www.mediafire.com/download/aee7ax0d1ewq1ny/libsdl-1.2.14.tazpkg

Offline

#4 2015-01-20 22:43:51

h0lyRS
Member
Registered: 2015-01-20
Posts: 7

Re: Source code depends on G++ 4.7 or later

Thanks guys. I ended up downgrading to openMSX 0.10.1

I'm still learning what Slitaz can do.

There is one catch though. openMSX installs at the /opt path.

How can I write the receipt so that the binary is symlinked to /usr/bin or /usr/local/bin ?

Offline

#5 2015-01-20 23:28:06

h0lyRS
Member
Registered: 2015-01-20
Posts: 7

Re: Source code depends on G++ 4.7 or later

So, for symlink, I used the post_install and post_remove hooks on the receipt.

@mojo: isn't the default libsdl compiled with alsa support?

Offline

#6 2015-01-20 23:32:53

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Source code depends on G++ 4.7 or later

No alsa support in repo libsdl.

Download my packages and extract them to get the receipts.

tazpkg extract <tazpkgname>

Cook using the receipts, change openmsx $VERSION to match your source.

My openmsx receipt changes install prefix to /usr which is in path so you won't need symlinks and add alsa support to libsdl.

Offline

#7 2015-01-21 02:02:05

h0lyRS
Member
Registered: 2015-01-20
Posts: 7

Re: Source code depends on G++ 4.7 or later

Thank you mojo, I will study your packages

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]