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 26 Oct 2014, 04:45
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
[solved] ld error - in building mtPaint on Puppy 3.01
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1422
Location: somewhere at the end of rainbow...

PostPosted: Mon 01 Nov 2010, 14:22    Post_subject:  [solved] ld error - in building mtPaint on Puppy 3.01  

Woof Woof

Dear Puppians, last days I Built successfully mtPaint 3.34.56
- http://github.com/wjaguar/mtPaint/tree/master

in Puppy 4.3.1

as happy Puppy 3.01 user, I then started to compile for this version, but when I invoke make, this error is returned to me:

/mnt/devx_301.sfs/usr/bin/../lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: cannot find -lX11

but libX11.so esists in /usr/X11R6/lib/ and, in configure, this path it is present

I attach the full log zipped

note: I'm compiling from LIVE CD using very good sfs linker by jrb (not tried the 1.9 version, I used the 1.8), I don't know if this can be the origin of problem (since sfs linker works very fine with devx 431
mtpaint-3.01-full-log.zip
Description 
zip

 Download 
Filename  mtpaint-3.01-full-log.zip 
Filesize  1.66 KB 
Downloaded  148 Time(s) 

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
seaside

Joined: 11 Apr 2007
Posts: 887

PostPosted: Mon 01 Nov 2010, 19:40    Post_subject:  

Dingo,

I would guess that it's a link problem because in pup 431 this file already exists in the base sfs
Quote:
/usr/X11R7/lib/libX11.so.6.2.0


It probably just needs a link to /lib/libX11.so

Cheers,
s
Back to top
View user's profile Send_private_message 
jrb


Joined: 11 Dec 2007
Posts: 1040
Location: Smithers, BC, Canada

PostPosted: Tue 02 Nov 2010, 22:13    Post_subject: Re: ld error - in building mtPaint on Puppy 3.01  

Dingo wrote:
Woof Woof

Dear Puppians, last days I Built successfully mtPaint 3.34.56
- http://github.com/wjaguar/mtPaint/tree/master

in Puppy 4.3.1

as happy Puppy 3.01 user, I then started to compile for this version, but when I invoke make, this error is returned to me:

/mnt/devx_301.sfs/usr/bin/../lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: cannot find -lX11

but libX11.so esists in /usr/X11R6/lib/ and, in configure, this path it is present

I attach the full log zipped

note: I'm compiling from LIVE CD using very good sfs linker by jrb (not tried the 1.9 version, I used the 1.Cool, I don't know if this can be the origin of problem (since sfs linker works very fine with devx 431

Hi Dingo, Don't have time to look at it right now, but I suspect that the ldconfig contained in /sbin in SFS_TCZ-Linker is incompatible with 301. I will have some time on Thursday and will try building SFS-Linker with the ldconfig from devx-301.

BFN, J
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10832
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 03 Nov 2010, 03:28    Post_subject:  

Here's one compiled on 2.14X and should work fine on 3 series since its the same GlibC.
ttuuxxx
mtPaint-3.34-56-i386.pet
Description 
pet

 Download 
Filename  mtPaint-3.34-56-i386.pet 
Filesize  294.08 KB 
Downloaded  147 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: Fri 05 Nov 2010, 15:53    Post_subject:  

If you are still interested in doing a native compile try adding -CFLAGS=" ..your_compiler_flags.. -I/usr/X11R6/include " \
LDFLAGS=" -Wl,your,linker,flags,here -L/usr/X11R6/lib " \
./configure --your-config-options-here

This is the normal way of doing it, but if I recall mtpaint uses a different configure method and produces a build config file (I forget the name) you can just add -L/usr/X11R6/lib and -I/usr/X11R6/include in there.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Dingo


Joined: 11 Dec 2007
Posts: 1422
Location: somewhere at the end of rainbow...

PostPosted: Sun 07 Nov 2010, 08:02    Post_subject:  

using devx module in a frugal install (with sfs-linker by jrb) solves the problem ( I was using devx with sfs-linker from live cd when I had the problem)
_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0653s ][ Queries: 13 (0.0134s) ][ GZIP on ]