Hi Francios, In the new package you are trying to add you will need to add a patch to change the configure script so that it does not try to run the test that is failing.
As the output is showing, the test it is trying to do won't work when cross compiling. This is fairly common and you can check in other packages (sorry I can't recall) that have similar changes applied. If you're lucky sometimes a package has an option to configure that will make it work for cross compiling. You will need to google to find out if this applied for your package (what is it?) Regards, Stuart On 27/03/13 19:31, Francois Bouchard wrote: > Hi, > > We are trying since a couple of days to add some package to litb and it > basically won't compile with package pkg-config. We build it using > --with-internal-glib > > The following error occurs when using --with-internal-glib flag to > configure pkg-config: > (.....) > checking for growing stack pointer... configure: error: in > `/ltib/ltib-modelo-20100709/rpm/BUILD/pkg-config-0.28/glib': > *configure: error: cannot run test program while cross compiling* > See `config.log' for more details > configure: error: ./configure failed for glib > > Now from where can you disable the test program, in which script? > > Thanks, > Francois > > > _______________________________________________ > LTIB home page: http://ltib.org > > Ltib mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/ltib > _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
