I'm trying to build my first package, hopefully I can contribute it if
I can make it good enough!

It is a perl (file::rsyncp) module... but I think I've drilled down to
the real problem. By using V=99 I can see what it is running for the
perl Config.PM:

perl Makefile.PL
PERL_LIB=/home/kyle/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/perl5/5.10
PERL_ARCHLIB=/home/kyle/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/perl5/5.10
INSTALLSITELIB=/usr/lib/perl5/5.10 INSTALLSITEARCH=/usr/lib/perl5/5.10
DESTDIR=/home/kyle/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/perl/File-RsyncP-0.68/ipkg-install
Writing Makefile for File::RsyncP::Digest
Writing Makefile for File::RsyncP::FileList
Writing Makefile for File::RsyncP

But, this is not enough, because when it build the makefiles the extra
shell arguments are not exported to Digest and Filelist, and therefore
they miss out on the whole cross compiling stuff, and it fails:

"Have 
/home/kyle/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib/perl5/5.10/Config.pm
expected /Config.pm
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on."

I can manually build this by exporting the variables in my shell and
"make", but of course t his won't fly for a real package.

Can someone hint me towards how to properly configure the make file to
make this correctly make the Make files?  Attached is my make file,
shamelessly modified from perl-compress-bzip2.

Kyle

Attachment: Makefile
Description: Binary data

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to