Make sure you have installled libapr.
If you have installed that, go to the sandbox, type in 'apr-config
--installbuilddir'
you should see a path, go to that path and make sure the file apr_rules.mk
is there.  Let me know the updates.

good luck,

Toan

On 2/2/10, Juanphy <[email protected]> wrote:
>
>
> Hello,
>
> I'm pretty new at this so forgive me if it shows on the kind of question I'm
> asking...
>
> I'm having some issues compiling the apr-util package, I'm getting a "No
> such file or directory" error for file
> blahblahblah/apr-util-1.2.12/build/rules.mk while the Build-Target scripts
> tries to make the package.
>
> I'm cross compiling a minimal package selection optimized for a Geode LX
> processor. I'm using the SVN trunk as it was the one working the best for
> me.
>
> This is the building result:
>
> == 09:47:02 =[1]=> Building develop/apr-util [1.2.12 8.0-trunk].
> -> Parallel build using 4 jobs enabled.
> -> Reading package config: package/develop/apr-util/apr-util.conf
> -> Preparing build in
> src.apr-util.default.20100202.094701.5001.T2Builder.nowtek.net
> -> Building. Writing output to $root/var/adm/logs/1-apr-util.out
> *> Corrected ./xml/expat/conftools/ltmain.sh
> !> ==[build_this_package:946 (last $?=0)> eval echo 'Running make -j4
> CC="$CC" CPP="$CPP" CXX="$CXX" prefix="/$prefix" docdir="$docdir"
> CC_FOR_BUILD="$BUI ..
> !> ===[build_this_package:946 (last $?=0)> echo Running make -j4
> CC=i686-t2-linux-gnu-gcc CPP=i686-t2-linux-gnu-cpp CXX=i686-t2-linux-gnu-g++
> prefix=/usr  ..
> !> Running make -j4 CC=i686-t2-linux-gnu-gcc CPP=i686-t2-linux-gnu-cpp
> CXX=i686-t2-linux-gnu-g++ prefix=/usr docdir=/usr/doc/apr-util
> CC_FOR_BUILD=cc BUIL ..
> !> ==[build_this_package:947 (last $?=0)> eval 'make -j4 CC="$CC" CPP="$CPP"
> CXX="$CXX" prefix="/$prefix" docdir="$docdir" CC_FOR_BUILD="$BUILDCC"
> BUILDCC ..
> !> ===[build_this_package:947 (last $?=0)> make -j4 CC=i686-t2-linux-gnu-gcc
> CPP=i686-t2-linux-gnu-cpp CXX=i686-t2-linux-gnu-g++ prefix=/usr
> docdir=/usr/d ..
> !> Makefile:28:
> /usr/src/T2/t2-svn/src.apr-util.default.20100202.094701.5001.T2Builder.nowtek.net/apr-util-1.2.12/build/rules.mk:
> No such file or directory
> !> Due to previous errors, no 1-apr-util.log file!
> !> (Try enabling xtrace in the config to track an error inside the build
> system.)
> -> $root/var/adm/logs/1-apr-util.out -> 1-apr-util.err
> == 02/02/10 09:47:14 =[1]=> Aborted building package apr-util.
> -> Unmounting loop mounts ...
>
> Here's the full error if you need more information
> http://pastebin.com/f5ab34a22 http://pastebin.com/f5ab34a22
>
> I had a couple of issues with my compilation before but fortunately the
> answers where already covered in the mailing list or irc archives but I
> didn't find an answer for this one, errors like these seemed to need
> modifying the patches for the package and I'm not sure how to do that.
>
> If you need any other info please don't hesitate to ask.
>
> Thank you all in advance.
> --
> View this message in context:
> http://old.nabble.com/Problem-compiling-apr-util%2C-rules.mk-file-not-found-tp27421794p27421794.html
> Sent from the T2 mailing list archive at Nabble.com.
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
>



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to