Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 05 Jul 2015, 23:07
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
error:ffmpeg/avformat.h or libavformat No suchfile or dir,
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
michaellowe


Joined: 17 Dec 2011
Posts: 44
Location: The Garden

PostPosted: Mon 25 May 2015, 19:49    Post subject:  error:ffmpeg/avformat.h or libavformat No suchfile or dir,
Subject description: trying to configure Ushare to run in puppy 525
 

Hi I keep getting this error message while trying to run configure for libdlna-0.2.3 in puppy 5.2.5 -

error: ffmpeg/avformat.h: No such file or directory Error, can't find libavformat

my eventual outcome is so that I can run the dlna server (Ushare) on my puppy linux machine as this is the only protocol to serve media to the xbox 360 (hopefully?)
I want to try this before resorting to using bloody windows media centre for obvious reasons. below is my config.log from trying to configure libdlna:

# ./configure
BASH=/bin/sh
BASHOPTS=cmdhist:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="./configure")
BASH_VERSINFO=([0]="4" [1]="1" [2]="0" [3]="1" [4]="release" [5]="i686-pc-linux-gnu")
BASH_VERSION='4.1.0(1)-release'
CLASSPATH=/usr/java/jre1.7.0_07/lib
COLORFGBG='0;15'
COLORTERM=rxvt
CONFIGFILE=config.mak
DEFAULTBROWSER=firefox
DEFAULTDRAW=inkscapelite
DEFAULTHTMLEDITOR=mozedit
DEFAULTIMAGEEDITOR=sdraw
DEFAULTIMAGEVIEWER=viewnior
DEFAULTMEDIAPLAYER=vlc
DEFAULTPAINT=sdraw
DEFAULTSPREADSHEET=scalc
DEFAULTTEXTEDITOR=geany
DEFAULTWORDPROCESSOR=swriter
DIRSTACK=()
DISPLAY=:0.0
EDITOR=mp
EUID=0
GDK_NATIVE_WINDOWS=true
GDK_USE_XFT=1
GROUPS=()
G_FILENAME_ENCODING=@locale
HISTCONTROL=ignoredups
HISTFILESIZE=2000
HISTSIZE=1000
HOME=/root
HOSTNAME=puppypc
HOSTTYPE=i686
IFS='
'
INPUTRC=/etc/inputrc
INSTALL='/usr/bin/install -c'
JAVA_HOME=/usr/java/jre1.7.0_07
LANG=en_GB.utf8
LC_COLLATE=en_US
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R7/lib:/root/my-applications/lib:/opt/qt4/lib:/usr/lib/seamonkey
LOGNAME=root
MACHTYPE=i686-pc-linux-gnu
MAKE=make
MM_RUNASROOT=1
MOZILLA_FIVE_HOME=/usr/lib/seamonkey
MOZ_DISABLE_PANGO=1
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins:/usr/lib/seamonkey/plugins
OOO_FORCE_DESKTOP=gnome
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin:/usr/java/jre1.7.0_07/bin:/mnt/home/audacity-src-2.0.6
PIPESTATUS=([0]="0")
PKG_CONFIG_PATH=/usr/lib/pkgconfig:
POSIXLY_CORRECT=y
PPID=7876
PREFIX=/usr/local
PS4='+ '
PWD=/initrd/mnt/dev_save/libdlna-0.2.3
QT4DIR=/opt/qt4
QT_XFT=true
RANDOM=12999
RGBDEF=/usr/share/X11/rgb.txt
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments:posix
SHLVL=5
TERM=xterm
TMPC=/tmp/libdlna-22549-8167-25394.c
TMPDIR1=/tmp
TMPE=/tmp/libdlna-544-8167-4534
TMPO=/tmp/libdlna-2397-8167-20900.o
TMPS=/tmp/libdlna-31864-8167-12999.S
UID=0
USER=root
VERSION=
WINDOWID=16777222
WINDOWPATH=4
XDG_CACHE_HOME=/root/.cache
XDG_CONFIG_DIRS=/etc/xdg
XDG_CONFIG_HOME=/root/.config
XDG_DATA_DIRS=/usr/share:/usr/local/share
XDG_DATA_HOME=/root/.local/share
XFINANSDIR=/root/.xfinans
XLIB_SKIP_ARGB_VISUALS=1
_='# ./configure '
ar=ar
cc=gcc
cpu=x86
cross_compile=no
debug=no
dostrip=yes
extralibs=
includedir='$(PREFIX)/include'
installstrip=-s
libdir='$(PREFIX)/lib'
logfile=config.log
logging=yes
make=make
optimize=yes
ranlib=ranlib
shared=yes
static=yes
strip=strip
Checking for compiler available...
check_ld
check_cc
BEGIN /tmp/libdlna-22549-8167-25394.c
1 int main(){
2 return 0;
3 }
END /tmp/libdlna-22549-8167-25394.c
gcc -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
gcc -o /tmp/libdlna-544-8167-4534 /tmp/libdlna-2397-8167-20900.o
check_header altivec.h
check_cpp
BEGIN /tmp/libdlna-22549-8167-25394.c
1 #include <altivec.h>
2 int x;
END /tmp/libdlna-22549-8167-25394.c
gcc -E -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
/tmp/libdlna-22549-8167-25394.c:1:21: error: altivec.h: No such file or directory
check_cc -msse
BEGIN /tmp/libdlna-22549-8167-25394.c
1 #include <xmmintrin.h>
2 int main(void) {
3 #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
4 return 0;
5 #else
6 #error no vector builtins
7 #endif
8 }
END /tmp/libdlna-22549-8167-25394.c
gcc -msse -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
check_cc -march=athlon
BEGIN /tmp/libdlna-22549-8167-25394.c
1 #include <mm3dnow.h>
2 int main(void) {
3 __m64 b1;
4 b1 = _m_pswapd(b1);
5 _m_femms();
6 return 0;
7 }
END /tmp/libdlna-22549-8167-25394.c
gcc -march=athlon -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
check_ld
check_cc
BEGIN /tmp/libdlna-22549-8167-25394.c
1 #include <inttypes.h>
2 int main(int argc, char ** argv){
3 volatile uint32_t i=0x01234567;
4 return (*((uint8_t*)(&i))) == 0x67;
5 }
END /tmp/libdlna-22549-8167-25394.c
gcc -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
gcc -o /tmp/libdlna-544-8167-4534 /tmp/libdlna-2397-8167-20900.o
check_cflags -W
check_cc -W
BEGIN /tmp/libdlna-22549-8167-25394.c
1 int x;
END /tmp/libdlna-22549-8167-25394.c
gcc -W -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
check_cflags -Wall
check_cc -Wall
BEGIN /tmp/libdlna-22549-8167-25394.c
1 int x;
END /tmp/libdlna-22549-8167-25394.c
gcc -W -Wall -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
check_cflags -D_LARGEFILE_SOURCE
check_cc -D_LARGEFILE_SOURCE
BEGIN /tmp/libdlna-22549-8167-25394.c
1 int x;
END /tmp/libdlna-22549-8167-25394.c
gcc -W -Wall -D_LARGEFILE_SOURCE -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
check_cflags -D_FILE_OFFSET_BITS=64
check_cc -D_FILE_OFFSET_BITS=64
BEGIN /tmp/libdlna-22549-8167-25394.c
1 int x;
END /tmp/libdlna-22549-8167-25394.c
gcc -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
check_cflags -D_REENTRANT
check_cc -D_REENTRANT
BEGIN /tmp/libdlna-22549-8167-25394.c
1 int x;
END /tmp/libdlna-22549-8167-25394.c
gcc -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
Checking for libavformat ...
check_lib ffmpeg/avformat.h av_register_all -lavformat
check_header ffmpeg/avformat.h
check_cpp
BEGIN /tmp/libdlna-22549-8167-25394.c
1 #include <ffmpeg/avformat.h>
2 int x;
END /tmp/libdlna-22549-8167-25394.c
gcc -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O3 -E -o /tmp/libdlna-2397-8167-20900.o /tmp/libdlna-22549-8167-25394.c
/tmp/libdlna-22549-8167-25394.c:1:29: error: ffmpeg/avformat.h: No such file or directory
Error, can't find libavformat !

heres what I dont understand:

I ran pfind and found several libraries of libavformat all over the place????
mos of them at /usr/lib why does ./configure not see them????
or is libavformat a header file that is missing??? whatever that is???

please see additional screenies for further information thank you in advance for any help, im at my wits end! ;-(
libavformat libraries .png
 Description   
 Filesize   29.67 KB
 Viewed   87 Time(s)

libavformat libraries .png

pfind screeny of places to find libavformat.png
Description 
png

 Download 
Filename  pfind screeny of places to find libavformat.png 
Filesize  65.96 KB 
Downloaded  16 Time(s) 

_________________
Smash forehead on keyboard to continue.....
well thats at least how some of us deal with ba$h !
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 1016
Location: Union New Jersey USA

PostPosted: Tue 26 May 2015, 22:24    Post subject: maybe the following?  

Hi michaellowe,

I don't have Puppy 5.25 running. I assume it's Lucid, which was based on Ubuntu Lucid Linx. Googling "Lucid avformat.h" took me to to a page indicating that avformat.h was included in the libavformat-dev package. http://packages.ubuntu.com/lucid/i386/libavformat-dev/filelist If you click the "i386" at the top of the page it will take you to the page where you can download the ".deb" package.
After you download the deb, you'll have to extract it. Try right-clicking it and see if something called Extract, UExtract, or Unpack shows up on the menu. If not, see if PaDS, http://murga-linux.com/puppy/viewtopic.php?p=658359&sid=7107db5eec77ea977c0937653ccd813e#658359 can be installed into your Pup.
Once you've unpacked the deb, you should find avformat.h within it. Copy it to the folder you displayed in your screenshot.

You also seem to be missing altivec.h. Ubuntu Package Search, http://packages.ubuntu.com/ of Package Directories did not find it. But further down on that Webpage is a box to search the Contents of Packages. That revealed several possibilities. As I'm unfamiliar with libdlna, your guess as to which to try first is better than mine.

If either the avformat.h or the altivec.h turn out not to be the right one, you can use the above Contents of Packages search to look for others.

You may find a file which is newer than that your application needs. The newer one -- it will have a higher number-- may work if you create a "symlink" to it, giving it the name of the missing file. Just open a terminal in the folder where the file should be found and type, code:

ln -s NAME_OF_FILE_YOU_HAVE NAME_OF_FILE_YOU_NEED

Your screenshot show several symlinks. They're the files with the arrows in the top left corner. You'll note their names are "lower" than that of the files they point to. [Right-click a symlink and one of the options is "Show Target". Or just hover on the symlink].

If none of the files from Ubuntu are the correct ones, or can be used via symlink, try "googling" for it. I'd try debian first, e.g.: "avformat.h debian". Ubuntu libraries are frequently identical/taken-from debian. Next try "slackware". Slackware is reputed to be conservative in publishing applications; sometimes their libraries are acceptable in Pups built from Ubuntu binaries. Then just the name of the desired file. That may throw up a lot of "hits". You're probably only interested in ones having the same or slightly higher number than your missing files.

Hope this helps,

mikesLr
Back to top
View user's profile Send private message 
michaellowe


Joined: 17 Dec 2011
Posts: 44
Location: The Garden

PostPosted: Wed 27 May 2015, 17:29    Post subject: error:ffmpeg/avformat.h or libavformat No suchfile or dir,  

Hi Mikeslr

Thanks for your suggestions, very much appreciated.
Didnt seem to work? tried all the options,
so ended up just forgoing the source code compiling route and installed the pet "minidlna-1.0.22-2.pet" from here:

http://shinobar.server-on.net/puppy/pup4/opt/pets/

I had done this before but hadn't read the rest of the thread about editing the
minidlna.conf file

Anyway Ive done that as described in Shinobar's instructions but now I'm stuck again. Don't actually know how one is supposed to access the server via any client, in this case the xbox 360
have I misunderstood the point of dlna? you see my computer and my xbox 360 are connected as per normal to my router on my local network.
I'm getting the idea that they are actually supposed to be connected directly with a second network card on the computer side of things?

why cant I just stream it via my router over my local network like with Samba? actually that was with the original xbox (albeit softmodded) and although it was sometimes slow it actually worked! I thought that was the whole point of UPNP? everything accessible from anywhere withitn ones own local network as long as everything is connected to the router it should work shouldnt it??? Ive always found networking very complicated and seem slow on the uptake but eventually get there in the end. Wink

_________________
Smash forehead on keyboard to continue.....
well thats at least how some of us deal with ba$h !
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 1016
Location: Union New Jersey USA

PostPosted: Wed 27 May 2015, 19:38    Post subject: Sorry about the Wild Goose Chase  

Hi,

Sorry about the Wild Goose Chase. I'm not sure how best to respond: "Misery loves company", Sad or --quoting Jennifer Tilly in Let it Ride "Nothing ventured, nothing ventured." Confused

Best to post the problem, providing all details, to shinobar's thread on the pet. http://murga-linux.com/puppy/viewtopic.php?p=684462&sid=aa5038466960923fdf5bb4a1f7ba8e7c#684462.

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0747s ][ Queries: 12 (0.0052s) ][ GZIP on ]