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 Thu 24 Jul 2014, 07:01
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 [6 Posts]  
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1415
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  142 Time(s) 

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

Last edited by Dingo on Sun 07 Nov 2010, 08:03; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 886

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: 1029
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: 10747
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  137 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 poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4277

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: 1415
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 poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.0613s ][ Queries: 13 (0.0043s) ][ GZIP on ]