Re: AM Conditional for SUBDIRS

2008-08-07 Thread Vikram Ambrose
Monty Taylor wrote: Vikram Ambrose wrote: I have a problem trying to conditional include a subdir into a build configuration or not. I have tried two things. 1) - SUBDIRS = pkgA pkgB if BUILD_pkgC SUBDIRS += pkgC endif

AM Conditional for SUBDIRS

2008-08-07 Thread Vikram Ambrose
I have a problem trying to conditional include a subdir into a build configuration or not. I have tried two things. 1) - SUBDIRS = pkgA pkgB if BUILD_pkgC SUBDIRS += pkgC endif - 2) -

Re: Python and Automake

2008-07-21 Thread Vikram Ambrose
Patrick Moore wrote: * On Mon, Jul 21, 2008 at 09:35:00AM -0400, Vikram Ambrose said: to set PYCFILES to empty, but this doesn't make a ounce of difference Is there a way to achieve my goal, or failing that, solely a foo.pyc file in ${prefix}/lib ? Thanks in advance, paddy

Re: Python and Automake

2008-07-21 Thread Vikram Ambrose
Patrick Moore wrote: Hi All, I've been trawling the docs through this to no avail and was hoping someone here may be able to point me in the right direction Here's what I'm ultimately trying to achieve: Bytecompile a python file, and place it in ${prefix}/lib, removing the python extension. C

Cross Compile Python

2008-07-17 Thread Vikram Ambrose
Automake doesn't really know how to deal with python. I have come across a lot of cross compilation problems. When cross compiling an app there is currently no way of determining a) which python headers are suitable for the target platform. b) what version of python is available on the tar

Re: Installation of startup scripts

2008-07-17 Thread Vikram Ambrose
Ralf Wildenhues wrote: * Ralf Wildenhues wrote on Wed, Jul 16, 2008 at 11:39:00PM CEST: Is there a proper automake way of installing startup scripts? Try init_d_dir = $(sysconfdir)/rc.d/init.d init_d_dir_SCRIPTS = blah The last line should've been init_d_SCRIPTS = blah

Installation of startup scripts

2008-07-16 Thread Vikram Ambrose
Currently I have to add my own rule install: install -D -m 755 $(sysconfdir)/rc.d/init.d/blah uninstall: rm $(sysconfdir)/rc.d/init.d/blah Is there a proper automake way of installing startup scripts? Vikram.

Re: problems with AM_PYTHON_PATH

2008-07-15 Thread Vikram Ambrose
Note that this is a similar problem someone has hit cross compiling http://projects.linuxtogo.org/pipermail/openembedded-devel/2007-March/001722.html Vikram Ambrose wrote: I'm trying to cross compile an app that uses Python.h In my configure.ac i have... --- configure.ac

problems with AM_PYTHON_PATH

2008-07-15 Thread Vikram Ambrose
re wrong. prefix is actually /usr and python's prefix is /build_2008-07-15/host-cross/ Is this a bug? -- Vikram Ambrose | Linux Products Division | WindRiver Corporation