Jump to content


Photo

Working with devshell


  • Please log in to reply
5 replies to this topic

#1 arachaz

  • Member
  • 20 posts

0
Neutral

Posted 13 August 2010 - 18:02

I am trying to compile enigma using devshell.
Enigma package is on "/openpli/temp/enigma-openpli+svn132-r5/enigma$", so I made a copy of enigma directory to a temp directory, lauched devshell and moved to the temp enigma directory.
But the process failed when I used "oe_runconf"due to missing tuxbox package.

[OE::powerpc-linux-opendreambox-dm600pvr]:~/openpli/temp/enigma-openpli+svn132-r5/enigma$ oe_runconf
NOTE: Running ./configure		   --build=i686-linux		   --host=powerpc-linux		   --target=powerpc-linux		   --prefix=/usr		   --exec_prefix=/usr		   --bindir=/usr/bin	    --sbindir=/usr/sbin		   --libexecdir=/usr/libexec		   --datadir=/usr/share		   --sysconfdir=/etc		   --sharedstatedir=/usr/com		   --localstatedir=/var		   --libdir=/usr/lib		   --includedir=/usr/include		   --oldincludedir=/usr/include		   --infodir=/usr/share/info		   --mandir=/usr/share/man					 ...
configure: loading site script /home/rachid/openpli/openembedded/site/powerpc-linux
checking for a BSD-compatible install... /home/rachid/openpli/build-dm600pvr/tmp/staging/i686-linux/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc-linux-strip... powerpc-linux-strip
checking for style of include used by make... GNU
checking for powerpc-linux-gcc... powerpc-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-linux-gcc accepts -g... yes
checking for powerpc-linux-gcc option to accept ANSI C... none needed
checking dependency style of powerpc-linux-gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking target... native
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking how to run the C preprocessor... powerpc-linux-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ost/dmx.h usability... yes
checking ost/dmx.h presence... yes
checking for ost/dmx.h... yes
configure: found dvb version 1
checking for powerpc-linux-gcc... (cached) powerpc-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether powerpc-linux-gcc accepts -g... (cached) yes
checking for powerpc-linux-gcc option to accept ANSI C... (cached) none needed
checking dependency style of powerpc-linux-gcc... (cached) gcc3
checking for powerpc-linux-g++... powerpc-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc-linux-g++ accepts -g... yes
checking dependency style of powerpc-linux-g++... gcc3
checking for powerpc-linux-ranlib... powerpc-linux-ranlib
checking for ost/dmx.h... (cached) yes
configure: found dvb version 1
checking for freetype-config... /home/rachid/openpli/build-dm600pvr/tmp/staging/i686-linux/bin/freetype-config
checking for pkg-config... /home/rachid/openpli/build-dm600pvr/tmp/staging/i686-linux/bin/pkg-config
checking for powerpc-linux-pkg-config... (cached) /home/rachid/openpli/build-dm600pvr/tmp/staging/i686-linux/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ID3TAG... yes
checking for MAD... yes
checking for VORBISIDEC... yes
checking for FLAC... yes
checking for MD5SUM... yes
checking for PLUGINS... yes
checking for PNG... yes
checking for SIGC... yes
checking for XMLTREE... yes
checking for TUXTXT... yes
checking for SQLITE... yes
checking for FRIBIDI... yes
checking for TUXBOX... configure: error: Package requirements (tuxbox) were not met:

No package 'tuxbox' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables TUXBOX_CFLAGS
and TUXBOX_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

FATAL: oe_runconf failed


Any help ?

Thanks all

Arachaz

Re: Working with devshell #2 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 13 August 2010 - 18:28

It needs more arguments, some are supplied by the recipe (OE_EXTRACONF or so).

I always run the recipe through bitbake, then go to the work dir and use devshell to change things and run make again.
Real musicians never die - they just decompose

Re: Working with devshell #3 arachaz

  • Member
  • 20 posts

0
Neutral

Posted 14 August 2010 - 13:09

I always run the recipe through bitbake, then go to the work dir and use devshell to change things and run make again.


I did so. But still missing tuxbox package error.
Can you be more explicit about the process you used to recompile using devshell.

Gratefully

Arachaz

Re: Working with devshell #4 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 14 August 2010 - 15:54

Start devshell.
Copy my changes over to the "work" dir.
Run make (aliases to oe_runmake).
Copy main/enigma2 to box (which is the binary built from the C++ code).
Repeat until done :)
Real musicians never die - they just decompose

Re: Working with devshell #5 arachaz

  • Member
  • 20 posts

0
Neutral

Posted 15 August 2010 - 19:45

Fine. It works now with make.
I did a make, then a strip, and I get a new compiled enigma.

I still wonder why "oe_runconf" fails.

Re: Working with devshell #6 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 16 August 2010 - 09:18

You probably have to specify something like --with-tuxbox-lib=... --without-sdl after oe_runconf.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users