Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: aus9 on October 30, 2012, 08:34:39 PM
-
I am not an expert.
Using the create extensions wiki gave me some errors.
ls /usr/local/tce.installed/libavcodec-dev
/usr/local/tce.installed/libavcodec-dev
cat /tmp/guvcview-src-1.6.1/config.log | grep error
######(qversion and ac_nonexistent.h already known and dismissed)
configure:6336: $PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0.0 glib-2.0 >= 2.10.0 sdl >= 1.2.10 portaudio-2.0 libpng libavcodec libavutil libv4l2 libudev"
configure:6353: $PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.0.0 glib-2.0 >= 2.10.0 sdl >= 1.2.10 portaudio-2.0 libpng libavcodec libavutil libv4l2 libudev"
configure:6488: $PKG_CONFIG --exists --print-errors "libpulse >= 0.9.15"
configure:6505: $PKG_CONFIG --exists --print-errors "libpulse >= 0.9.15"
conftest.c:61:21: fatal error: avcodec.h: No such file or directory
conftest.c:28:21: fatal error: avcodec.h: No such file or directory
conftest.c:61:28: fatal error: ffmpeg/avcodec.h: No such file or directory
conftest.c:28:28: fatal error: ffmpeg/avcodec.h: No such file or directory
conftest.c:30:9: error: unknown type name 'not'
conftest.c:30:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
conftest.c:30:15: error: unknown type name 'universal'
conftest.c:36:4: error: unknown type name 'not'
conftest.c:36:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
ac_cv_search_strerror='none required'
I attempted to use this command, on that the grounds that the new libavcodec-dev has file = /usr/local/include/libavcodec/avcodec.h
./configure --prefix=/usr/local --includedir=/usr/local/include
Perversely, I can build the tcz and I can get it to run. But I don't want to submit it until I have ironed out all essential errors.
thanks for reading......and config log attached
(2) I am not concerned about missing libpulse....I could try a sym link to libpulseaudio but most people don't use PA at TC, I hope
-
just spotted it thinks I am using pathway.....etc/sysconfig...ondemand
grrr
so I deleted /mnt/sda2/tce/ondemand folder, forgot to reboot but it currently makes no difference
have to go so no rush to reply will try again in several hours
-
Hi aus9
conftest.c:61:21: fatal error: avcodec.h: No such file or directory
conftest.c:28:21: fatal error: avcodec.h: No such file or directory
conftest.c:61:28: fatal error: ffmpeg/avcodec.h: No such file or directory
conftest.c:28:28: fatal error: ffmpeg/avcodec.h: No such file or directory
The config script appears to be trying different paths to find avcodec.h.
It eventually finds it under libavcodec/avcodec.h, looks harmless.
conftest.c:30:9: error: unknown type name 'not'
conftest.c:30:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
conftest.c:30:15: error: unknown type name 'universal'
conftest.c:36:4: error: unknown type name 'not'
conftest.c:36:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
These look kind of odd, the log file flags these lines as the problem:
| #ifndef __APPLE_CC__
| not a universal capable compiler
| #endif
| typedef int dummy;
|
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
It kind of looks like these are supposed to be messages, but the compiler is trying to interpret them.
I'm not accustomed to dealing with config scripts, so consider the above as observations and not statements.
-
you probably spotted it, but you're going to need to make a portaudio extension for gucview to work :)
-
thanks guys for replying.
1) AFAIK the libportaudio.tcz is old EDIT pm sent to maintainer
2) I am going to show my bootcode....blah blah mydata=vesa.tgz lst=gbuild.lst
and contents of list file are:
Xprogs.tcz
Xvesa.tcz
mc.tcz
lxterminal.tcz
leafpad.tcz
htop.tcz
xdg-utils.tcz
flwm_topside.tcz
inxi.tcz
xz.tcz
squashfs-tools-4.x.tcz
binutils.tcz
chromium-browser.tcz
mtpaint-3.21.tcz
alsa-plugins.tcz
openjpeg.tcz
wbar.tcz
Xorg-7.6.tcz
# build-deps start here
intltool.tcz
wget.tcz
compiletc.tcz
submitqc4.tcz
SDL-dev.tcz
gtk3-dev.tcz
libportaudio.tcz
libavcodec-dev.tcz
libavutil-dev.tcz
libv4l-dev.tcz
udev-dev.tcz
pulseaudio-dev.tcz
#compiletc gives me libpng_base-dev
I am trying to do things having previously posted on a compile error with libva. initially I had compiletc ondemand....so I changed wiki for creating extensions....and made sure I have all build-deps onboot.
When I say all onboot....I mean all packages that I could find.I rebooted and am still getting a silly error that config log thinks I am using ondemand....I am not! Is it because my .profile has this contents?
ONDEMAND=/etc/sysconfig/tcedir/ondemand
[ -d "$ONDEMAND" ] && export PATH=$PATH:"$ONDEMAND"
Can I make a backup and then edit the current file without borking any future ondemand apps?
-
I'd suggest not to put anything to do with compiling "onboot" or "ondemand" (by this I mean the compiletc meta-extension and any *-dev extensions.
By doing the above, you can issue "tce-load -i extension_name" commands from a terminal window and see exactly what gets loaded and any error messages there might be. For example, there are several (many?) *-dev extensions that do not reference the underlying extension in their dep file so that you would need to load extension_name in addition to extension_name-dev.
I would also suggest to run the ./configure script with only compiletc loaded - this will cause the script to complain about a missing extension, which you can then load and run the ./configure script again and repeat.
By doing the above, when the ./configure script finally runs to the end, you will have the minimum number of extensions loaded for the source to compile and you can then make decisions on which, if any, optional extensions (and thus deps) you'd like to add.
-
thanks will do
BTW I made another error ....libportaudio has headers so no need for dev. I can see this being made and so am thinking relative to guvcview build its ok but package is 2009, latest stable 2011
CC port_audio.o
CC pulse_audio.o
I already have a build script which can run......tce-load -i packagename
EDIT have sent pm to libportaudio maintainer.
thanks again
-
finally one modest win, that I do understand.
Deleting that stuff from .profile and rebooting and re-running my build script finally config.log no longer shows that pesky ondemand section. tcz still builds.....tcz still runs ok.
but I will wait as TC does not have this package yet, so don't know what they are missing out on, ;D
to see when libportaudio might be updated or if I become something