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 Sat 19 Apr 2014, 01:43
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
[solved] How to compile avidemux in Quirky-110?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
mdev

Joined: 17 May 2010
Posts: 19
Location: Berlin

PostPosted: Sun 23 May 2010, 04:52    Post subject:  [solved] How to compile avidemux in Quirky-110?  

Hi,

I'm trying to crate a .pet for avidemux-2.5.3 in Quirky-110, and it almost compiles -- but it stops close to the end like this:

Code:

[ 94%] Building CXX object avidemux/ADM_userInterfaces/ADM_render/CMakeFiles/ADM_render_cli.dir/GUI_xvRender.cpp.o
[ 94%] Building CXX object avidemux/ADM_userInterfaces/ADM_render/CMakeFiles/ADM_render_gtk.dir/GUI_xvRender.cpp.o
Linking CXX shared library libADM_render_cli.so
/usr/src/avidemux_2.5.3/avidemux/ADM_userInterfaces/ADM_render/GUI_xvRender.cpp: In function 'uint8_t GUI_XvInit(GUI_WindowInfo*, uint32_t, uint32_t)':
/usr/src/avidemux_2.5.3/avidemux/ADM_userInterfaces/ADM_render/GUI_xvRender.cpp:281: warning: deprecated conversion from string constant to 'char*'
[ 94%] Built target ADM_render_cli
[ 94%] Building CXX object avidemux/ADM_UIs/ADM_CLI/src/CMakeFiles/ADM_UICli.dir/DIA_flyDialogCli.cpp.o
Linking CXX shared library libADM_render_gtk.so
/usr/lib/gcc/i486-t2-linux-gnu/4.3.4/../../../../i486-t2-linux-gnu/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [avidemux/ADM_userInterfaces/ADM_render/libADM_render_gtk.so] Error 1
make[1]: *** [avidemux/ADM_userInterfaces/ADM_render/CMakeFiles/ADM_render_gtk.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Building CXX object avidemux/ADM_UIs/ADM_CLI/src/CMakeFiles/ADM_UICli.dir/DIA_none.cpp.o
Linking CXX shared library libADM_UICli.so
[ 95%] Built target ADM_UICli
make: *** [all] Error 2
*** fail make_main ***



Does anyone have a hint how to solve this? Is it because it "cannot find -lX11"? But the X11 libs are in the LD_LIBRARY_PATH, so what can I do?

Last edited by mdev on Sun 23 May 2010, 08:09; edited 1 time in total
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6666
Location: lisbon

PostPosted: Sun 23 May 2010, 06:26    Post subject:  

Do you have /usr/X11R7/lib/libX11.so? If not, try making a symlink for it. If you do, try symlinking it to /usr/lib, as there may be some source file, or makefile, looking for it in /usr/lib. I've had the same prob many times & usually resolve it as above.
Back to top
View user's profile Send private message 
mdev

Joined: 17 May 2010
Posts: 19
Location: Berlin

PostPosted: Sun 23 May 2010, 08:15    Post subject:  

Thanks a lot muggins! This did the trick, I only had to create the symlinks /usr/lib/{libX11.so,libXext.so}

Next problem is that "new2dir make install" only creates an empty avidemux_2.5.3-i486 directory ... the application installs fine, but I cannot create a .pet so far...
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7547
Location: qld

PostPosted: Mon 24 May 2010, 09:13    Post subject:  

Try instead of new2dir this:

Code:
make install DESTDIR=/some-directory


You will then need to trim the fat and strip the bins manually.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mdev

Joined: 17 May 2010
Posts: 19
Location: Berlin

PostPosted: Mon 24 May 2010, 16:47    Post subject:  

Thank you 01micko! I should have thought of it myself, but I was too busy getting to know the puppy-specific packaging tools... Anyway, setting the DESTDIR (or the prefix) works like a charm!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 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.0448s ][ Queries: 11 (0.0061s) ][ GZIP on ]