Backend or profile problem?

RoryO roryo at bigpond.net.au
Thu Jun 14 02:13:27 PDT 2001


This is really starting to give me the irrits.

The following profile executes perfectly on ALFS 0.0.1 but causes sudden death on 0.0.7...

I get the backend error :

Can't locate ALFS/Handlers/Backend/Lcms.pm in @INC (@INC contains: /usr/lib/perl5
/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i686-linux
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/site_perl/5.6.0/ALFS.pm
line 79 <GEN1> line 1.

I found the following thread in search.LFS.org but could not find a solution.  :(

http://archive.linuxfromscratch.org/mail-archives/alfsdiscuss/2001/02/0023.html

Any help greatly appreciated...

Profile :

<!DOCTYPE entities [

<!ENTITY sourceDir "/usr/src/sources">
<!ENTITY buildDir "/usr/src">
<!ENTITY prefixDir "/usr">
<!ENTITY gccOpt "-O3 -march=i686">

<!ENTITY lcms-version "1.07">
<!ENTITY lcms-package "lcms-1.07.tar.gz">
<!ENTITY lcms-dir "lcms-1.07">
<!ENTITY lcms-patch "lcms-1.07.diff">
<!ENTITY lcms-ftp "www.littlecms.com/">

]>

<lcms version="0.1">

        <package name="lcms" version="&lcms-version;">
            <preconfigure>
                <unpack archive="&sourceDir;/&lcms-package;">&buildDir;</unpack>
            </preconfigure>

            <configure>
                <patch dir="&buildDir;/&lcms-dir;/"
                        param1="-Np1"
                        param2="-i"
                        param3="&sourceDir;/&lcms-patch;" />

                <search_replace find="gcc -g -O3 -march=i686"
                                replace="gcc -g &gccOpt;"
                                >&buildDir;/&lcms-dir;/install.gcc</search_replace>
                <search_replace find="/usr"
                                replace="&prefixDir;"
                                >&buildDir;/&lcms-dir;/install.gcc</search_replace>

            </configure>

            <build>
                <system_command>/bin/chmod 754 &buildDir;/&lcms-dir;/install.gcc</system_command>

                <system_command dir="&buildDir;/&lcms-dir;">/bin/sh install.gcc</system_command>
            </build>

            <postinstall>
                <remove>&buildDir;/&lcms-dir;</remove>
            </postinstall>
        </package>
</lcms>

-- 
Unsubscribe: send email to alfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the alfs-discuss mailing list