Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-10-01 Thread Guillaume Rousse
Le 22/09/2012 15:33, PhilippeDidier a écrit : Johnny A. Solbu a écrit : On Saturday 22 September 2012 02:45, PhilippeDidier wrote: %install make DESTDIR=%buildroot install Use %makeinstall instead of the make DESTDIR command. It's shorter, and does the same. And it conforms to policy, if

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-10-01 Thread PhilippeDidier
Guillaume Rousse a écrit : Le 24/09/2012 14:51, PhilippeDidier a écrit : I found that there is only one Makefile.in to modify 1 chance among more that 2 millions combinations ... and I did it, thanks for your help !! Don't forget to push the fix upstream if you don't want to keep it forever.

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-10-01 Thread PhilippeDidier
PhilippeDidier a écrit : PhilippeDidier a écrit : Hi ! Happy packagers... I'm trying to build some missing rpms that exist in Mandriva-contrib but not yet in Mageia... (most of them concern Computer Aided Music) gig linuxsampler gigedit qsampler linuxsampler depends on gig gigedit and

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-25 Thread PhilippeDidier
PhilippeDidier a écrit : Hi ! Happy packagers... I'm trying to build some missing rpms that exist in Mandriva-contrib but not yet in Mageia... (most of them concern Computer Aided Music) gig linuxsampler gigedit qsampler linuxsampler depends on gig gigedit and qsampler depend on

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-24 Thread PhilippeDidier
Thomas Backlund a écrit : philippedid...@laposte.net writes: Hello ! Some news : Indeed it was more difficult than I thought : There were 21 different Makefile.in in 21 directories to modify : I wrote a patch that replaces -LDFLAGS = @LDFLAGS@ by +LDFLAGS = @LDFLAGS@ -lpthread in each

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-24 Thread PhilippeDidier
Thomas Backlund a écrit : PhilippeDidier skrev 24.9.2012 14:25: Hey ! You ! you are a happiness breaker :-( [...] Argh ! You killed me ;-( Nope, just showing how to learn about and fix some problems :) Mageia will have to wait for sometime :... There are 21 makefiles There are

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-24 Thread Barry Jackson
On 23/09/12 21:16, zezinho wrote: svn export gives a better tarball... Yes - thanks for the correction - maybe even better to use: svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler tar -czf linuxsampler.tar.gz linuxsampler/ --exclude-vcs .. which strips the svn stuff

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-23 Thread Barry Jackson
On 22/09/12 23:02, PhilippeDidier wrote: Ok ! That's what I try...but there are several makefiles ! You may want to try the latest dev version from the linuxsampler svn as many issues may already be fixed upstream. This will produce a current linuxsampler.tar.gz to test with:- svn co

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-23 Thread PhilippeDidier
Olivier Blin a écrit : PhilippeDidier philippedid...@laposte.net writes: indeed the configured Makefile contains LDFLAGS option --as-needed htat worked for Mandriva !!! I need now to write a patch for the makefiles... to fix it in a better way than overriding LDFLAGS May we now suppress

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-23 Thread PhilippeDidier
Barry Jackson a écrit : On 22/09/12 23:02, PhilippeDidier wrote: Ok ! That's what I try...but there are several makefiles ! You may want to try the latest dev version from the linuxsampler svn as many issues may already be fixed upstream. This will produce a current

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-23 Thread Thomas Backlund
23.09.2012 16:19, PhilippeDidier skrev: Olivier Blin a écrit : PhilippeDidier philippedid...@laposte.net writes: indeed the configured Makefile contains LDFLAGS option --as-needed htat worked for Mandriva !!! I need now to write a patch for the makefiles... to fix it in a better way than

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-23 Thread zezinho
Em 23-09-2012 14:09, Barry Jackson escreveu: On 22/09/12 23:02, PhilippeDidier wrote: Ok ! That's what I try...but there are several makefiles ! You may want to try the latest dev version from the linuxsampler svn as many issues may already be fixed upstream. This will produce a current

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread PhilippeDidier
Johnny A. Solbu a écrit : On Saturday 22 September 2012 02:45, PhilippeDidier wrote: %install make DESTDIR=%buildroot install Use %makeinstall instead of the make DESTDIR command. It's shorter, and does the same. And it conforms to policy, if I'm not mistaken. thanks Philippe

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread PhilippeDidier
PhilippeDidier a écrit : Johnny A. Solbu a écrit : On Saturday 22 September 2012 02:45, PhilippeDidier wrote: %install make DESTDIR=%buildroot install Use %makeinstall instead of the make DESTDIR command. It's shorter, and does the same. And it conforms to policy, if I'm not mistaken.

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread Pierre-Malo Deniélou
Le 22/09/12 01:45,PhilippeDidier nous adresse ces quelques mots : You need to add -lpthread to the linker options... -- Thomas Thanks Thomas ... I use a very simple spec file in which these parts were working for Mandriva : %prep %setup -q -n %name-%version %build

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread PhilippeDidier
Pierre-Malo Deniélou a écrit : Le 22/09/12 01:45,PhilippeDidier nous adresse ces quelques mots : You need to add -lpthread to the linker options... -- Thomas Thanks Thomas ... I use a very simple spec file in which these parts were working for Mandriva : %prep %setup -q -n

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread Jose Jorge
Le 22/09/2012 14:22, PhilippeDidier a écrit : I really surrender ! I don't understand where the difference between Mandriva2010.2 and Mageia2 may stand ... The compiler is different ;-) In fact, all the build chain is different, and it refuses now things that passed before.

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread Pierre-Malo Deniélou
Le 22/09/12 14:26,PhilippeDidier nous adresse ces quelques mots : Thanks a lot Pierre-Malo ! I only modified this %build %configure2_5x %make LDFLAGS=-lpthread And it works now !! But I don't understand why I have to add this for Mageia2 when it is not needed for Mandriva ...

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread Thomas Backlund
PhilippeDidier skrev 22.9.2012 16:26: Pierre-Malo Deniélou a écrit : Le 22/09/12 01:45,PhilippeDidier nous adresse ces quelques mots : You need to add -lpthread to the linker options... -- Thomas Thanks Thomas ... I use a very simple spec file in which these parts were working for

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread PhilippeDidier
Thomas Backlund a écrit : PhilippeDidier skrev 22.9.2012 16:26: Pierre-Malo Deniélou a écrit : Le 22/09/12 01:45,PhilippeDidier nous adresse ces quelques mots : You need to add -lpthread to the linker options... -- Thomas Thanks Thomas ... I use a very simple spec file in which

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread Olivier Blin
PhilippeDidier philippedid...@laposte.net writes: indeed the configured Makefile contains LDFLAGS option --as-needed htat worked for Mandriva !!! I need now to write a patch for the makefiles... to fix it in a better way than overriding LDFLAGS May we now suppress the --as-needed option

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-22 Thread PhilippeDidier
Olivier Blin a écrit : PhilippeDidier philippedid...@laposte.net writes: indeed the configured Makefile contains LDFLAGS option --as-needed htat worked for Mandriva !!! I need now to write a patch for the makefiles... to fix it in a better way than overriding LDFLAGS May we now suppress

[Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-21 Thread PhilippeDidier
Hi ! Happy packagers... I'm trying to build some missing rpms that exist in Mandriva-contrib but not yet in Mageia... (most of them concern Computer Aided Music) gig linuxsampler gigedit qsampler linuxsampler depends on gig gigedit and qsampler depend on linuxsampler I use the same spec files

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-21 Thread PhilippeDidier
PS : I forgot to say that it's a local building in a /rpm tree on a real Mageia2 machine (not a virtual one) I built several rpms for personal use this way and that the first time I get this kind of error... I don't use iurt !

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-21 Thread AL13N
Op vrijdag 21 september 2012 21:24:17 schreef PhilippeDidier: Hi ! Happy packagers... I'm trying to build some missing rpms that exist in Mandriva-contrib but not yet in Mageia... (most of them concern Computer Aided Music) gig linuxsampler gigedit qsampler linuxsampler depends on

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-21 Thread Thomas Backlund
PhilippeDidier skrev 21.9.2012 22:24: Hi ! Happy packagers... I'm trying to build some missing rpms that exist in Mandriva-contrib but not yet in Mageia... (most of them concern Computer Aided Music) gig linuxsampler gigedit qsampler linuxsampler depends on gig gigedit and qsampler depend on

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-21 Thread PhilippeDidier
AL13N a écrit : Op vrijdag 21 september 2012 21:24:17 schreef PhilippeDidier: make a small test program, that uses pthread_cancel and try to compile and link it. when compiling (with gcc or g++) I've got this : pthread_cancel.c:(.text+0xf0): undefined reference to `pthread_create'

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-21 Thread PhilippeDidier
Thomas Backlund a écrit : PhilippeDidier skrev 21.9.2012 22:24: Hi ! Happy packagers... I'm trying to build some missing rpms that exist in Mandriva-contrib but not yet in Mageia... (most of them concern Computer Aided Music) gig linuxsampler gigedit qsampler linuxsampler depends on

Re: [Mageia-dev] need some help to build a linuxsampler.rpm

2012-09-21 Thread Johnny A. Solbu
On Saturday 22 September 2012 02:45, PhilippeDidier wrote: %install make DESTDIR=%buildroot  install Use %makeinstall instead of the make DESTDIR command. It's shorter, and does the same. And it conforms to policy, if I'm not mistaken. -- Johnny A. Solbu PGP key ID: 0xFA687324 signature.asc