Eric,

Could I have the user download and install only the boost python libraries
or will the rpm not see those as fullfilling the dependency?

I realize I have gone a bit off topic for the CMake list, but this may be
useful for others building on linux.

Also, thanks to everyone who is helping me.

--Robert

On Mon, Feb 22, 2010 at 12:49 PM, Eric Noulard <[email protected]>wrote:

> 2010/2/22 Robert Knapke <[email protected]>:
> > Eric,
> >
> > I looked online at the two websites you gave me, but they dont seem to
> have
> > rpms for the linux builds that I am sending to.
>
> >  I am using Suse 11.x.
> > The people who are currently trying to install the program have Redhat.
>
> This may not work as expected. Unfortunately if you build an [binary]
> RPM on SuSE 11.x
> it may not be installable and/or work on RedHat X.Y.
>
> The baseline is an RPM built on SuSE may not work at all on another
> RPM based distros
> (RedHat, CentOS, Fedora, Mandriva...)
>
> > If I made an rpm of the boost python library, would it work on their
> system?
>
> For the same reason I doubt it. The version patchwork dependencies from
> your system may be different from theirs.
>
> > Either way (finding it online or creating it myself) the linux type will
> be different.
>
> That's your main problem, if you want to be able to distributed binary
> of your software
> (either RPM or any other binary format) you should either built on the
> same machine
> as the target OR try to build static executable.
>
> My favourite way to do that is to avoid binary distribution
> alltogether and document
> HOWTO to build from source, which may be fairly easy with CMake,
> as an example:
> http://www.nongnu.org/certi/certi_doc/Install/html/build.html
>
> If you NEED to distribute binaries then build your application statically
> (no shared lib dependencies) or built a binary for each platform you
> need to support
> (including the various linux distros).
>
> --
>  Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to