Hi,
I am trying to build libsdl-sge and am running into another problem that I am 
sure is trivial but can't figure out. I am trying to patch a Makefile.conf file 
to change the paths etc. and am getting the following error:

NOTE: package libsdl-sge-030809.0.0-r0: task do_patch: started
NOTE: Applying patch 'makefile_conf.patch'
ERROR: function do_patchcmd failed
ERROR: log data follows 
(/home/oc60174/oe/build/tmp/work/libsdl-sge-030809.0.0-r0/temp/log.do_patchcmd.18072)
| Importing patch 
patches//home/oc60174/oe/org.openembedded.oz354x/packages/libsdl/files/./makefile_conf.patch
 (stored as patches/makefile_conf.patch)
| cp: cannot stat 
`/home/oc60174/oe/org.openembedded.oz354x/packages/libsdl/files/./makefile_conf.patch':
 No such file or directory
| Failed to import patch patches/makefile_conf.patch
NOTE: Task failed: 
/home/oc60174/oe/build/tmp/work/libsdl-sge-030809.0.0-r0/temp/log.do_patchcmd.18072
NOTE: package libsdl-sge-030809.0.0-r0: task do_patch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package libsdl-sge-030809.0.0: failed
ERROR: Build of libsdl-sge failed

It looks like do_patch is adding "./files" to the patch path. The extra "./" 
appears to make it so it can't find the patch. Can anyone tell me where that is 
defined so I can fix it?

Rob

 -------------- Original message ----------------------
From: "Justin Patrin" <[EMAIL PROTECTED]>
> On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Justin,
> > Thanks, I tried it in the EXTRA_OEMAKE but it didn't help but that pointed 
> > me 
> to the CPPFLAGS_append. I added -I${STAGING_INCDIR} and it picked up the X11 
> headers. I had to install the libsdl-gfx and libsdl-ttf to get the rest of 
> the 
> sdl headers but I am still missing sge.h and sge_surface.h. I am assuming 
> that 
> is in a libsdl-sge. But I can't seem to find it. I checked the feed as well 
> as 
> org.openembedded.oz354x/packages/libsdl/.  Am I going to have to build this 
> one 
> as well?
> >
> 
> If you can't find it then it is quite possible it needs to be added.
> Then again I have no idea what libsdl-sge would be so....
> 
> >
> >  -------------- Original message ----------------------
> > From: "Justin Patrin" <[EMAIL PROTECTED]>
> > > On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > > Koen,
> > > > Thanks for the reply. I actually did find that in a bb file.
> > > >
> > > > I actuallly now have a problem that I think should be trivial but I am 
> > > > not
> > > having any success with. I have several .cpp files that have the line 
> #include
> > > <X11/Xlib.h> or similar and they are turning up No Such File or Directory 
> > > in 
> the
> > > log.do_compile file.
> > > >
> > > > Here is a list of the include files:
> > > > X11/Xlib.h
> > > > X11/Xatom.h
> > > > X11/cursorfont.h
> > > > X11/Xmu/WinUtil.h
> > > > X11/extensions/record.h
> > > > etc.
> > > >
> > > > I have tried adding to my bb file:
> > > > EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}/X11' \
> > >
> > > Try the above without the X11.
> > >
> > > >                 'XLIB=-L${STAGING_LIBDIR} -lX11'"
> > > >
> > > > but that doesn't seem to help.
> > > >
> > > > Do I need to patch every cpp file that has and #include <X11..> line in 
> it?
> > > And what would I swap it out with?
> > > >
> > > > Second question:
> > > > This requires libSDL-sge. Is that available anywhere? I looked in the 
> > > > SDL
> > > folder and it appears to not be included with the GPE build I am using. 
> > > Is 
> that
> > > something that I would have to build as well?
> > > >
> > > > Again, Thanks for your help on this. I think it is very close.
> > > >
> > > > Rob
> > > >  -------------- Original message ----------------------
> > > > From: Koen Kooi <[EMAIL PROTECTED]>
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > >
> > > > > [EMAIL PROTECTED] schreef:
> > > > > > Ok, So I feel a little silly now ;). That worked. I now have all the
> > > > > dependencies for the binary compiled (libSerializeClass, 
> > > > > libDCECommon, 
> and
> > > > > libPlutoUtils), and all are showing ARM. The Orbiter binary makefile 
> > > > > is 
> a
> > > bit
> > > > > different though. It requires that you build it with the command 
> > > > > "make 
> bin".
> > > How
> > > > > do you do that with OE? Also, I am not sure what all the "WX" stuff 
> > > > > is?
> > > Should I
> > > > > remove it?
> > > > >
> > > > > do_compile() {
> > > > >       oe_runmake bin
> > > > > }
> > > > >
> > > > > regards
> > > > >
> > > > > Koen
> > > > > -----BEGIN PGP SIGNATURE-----
> > > > > Version: GnuPG v1.4.1 (Darwin)
> > > > >
> > > > > iD8DBQFE2uj2MkyGM64RGpERAvNNAKC7iQme2hrv3uXcVDFfvQBAIMGOXwCdH9Kc
> > > > > CuBlas6VTbFTzAhEhkvjLF4=
> > > > > =P1mE
> > > > > -----END PGP SIGNATURE-----
> > > > >
> > > > > _______________________________________________
> > > > > Oe mailing list
> > > > > [email protected]
> > > > > https://www.handhelds.org/mailman/listinfo/oe
> > > >
> > > >
> > > > _______________________________________________
> > > > Oe mailing list
> > > > [email protected]
> > > > https://www.handhelds.org/mailman/listinfo/oe
> > > >
> > >
> > >
> > > --
> > > Justin Patrin
> > > _______________________________________________
> > > Oe mailing list
> > > [email protected]
> > > https://www.handhelds.org/mailman/listinfo/oe
> >
> >
> > _______________________________________________
> > Oe mailing list
> > [email protected]
> > https://www.handhelds.org/mailman/listinfo/oe
> >
> 
> 
> -- 
> Justin Patrin
> _______________________________________________
> Oe mailing list
> [email protected]
> https://www.handhelds.org/mailman/listinfo/oe


_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to