Re: build_init script (part of autoconf?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Stevens wrote:
I have a code package I'm trying to port where I ran autoconf to customize, but then found it did not update these local.mak includes for Makefiles (which held the target objects). It seems there is a build_init script in the code I picked up, which would recurse the source tree and update these local.mak files...but I get this perl error even though I seem to have perl5, autoconf, automake, m4 etc packages installed. What does this mean/how can I fix?

first xx lines from build_init:
===============================
#!/usr/bin/perl


# the Getopt::Long package provides some nice command line processing options
# http://search.cpan.org/~jv/Getopt-Long-2.34/lib/Getopt/Long.pm
use Getopt::Long;


# the Inline::Files package allows you to append multiple virtual
# files to the end of your perl program.
# http://search.cpan.org/~dconway/Inline-Files-0.62/lib/Inline/Files.pm
use Inline::Files;

Check to see if you don't happen to have this perl module installed somewhere else. If so, the easiest solution will be to move it to one of the locations listed in @INC below, otherwise install it from CPAN. You should have the CPAN module already, so:

perl -MCPAN -e 'install Inline::Files'

...should do the trick.

-Robert

#build_init --package <packagename> \
# --version <version> \
# --rootdir <root dir> \
# --subdirs <list of subdirs separated by whitespace>
#
# e.g., build_init --package hello --version 1.0 --rootdir hello \
# --subdirs hello/goodbye hello/goodbye/leave hello/goodlib
#


Error running script:
=====================

Can't locate Inline/Files.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./build_init line 11.
BEGIN failed--compilation aborted at ./build_init line 11.



_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux