[linux-lvm] Problems at cross-compiling LVM2-2.02.52
John Taylor
pi00100100 at gmail.com
Tue Sep 22 13:23:02 UTC 2009
Alasdair G Kergon wrote:
> So can you describe the problem more precisely e.g. quoting the
> actual command lines/settings that aren't working and you think
> ought to do?
I'm building packages for my own GNU/Linux system via some bash scripts.
The one that builds lvm2 is this:
cd ${clfs_sources}
tar --extract --verbose --file=${tarball[lvm2]}
cd ${sources[lvm2]}
./configure --prefix=/usr --build=${clfs_host} --host=${clfs_target}
--target=${clfs_target} --disable-nls ac_cv_func_malloc_0_nonnull=yes
make
make install DESTDIR=${clfs}
cd ${clfs_sources}
rm --recursive --force --verbose ${sources[lvm2]}
Here the value of the variables:
clfs_sources=/mnt/clfs/sources
tarball[lvm2]=LVM2-2.02.52.tar.xz
sources[lvm2]=LVM2-2.02.52
clfs_host=i486-unknown-linux-gnu
clfs_target=x86_64-unknown-linux-gnu
clfs=/mnt/clfs
I hope it is clear now.
More information about the linux-lvm
mailing list