The time now is Fri 20 Apr 2018, 12:47
All times are UTC - 4 |
Author |
Message |
Dingo

Joined: 11 Dec 2007 Posts: 1434 Location: somewhere at the end of rainbow...
|
Posted: 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
Description |
|

Download |
Filename |
mtpaint-3.01-full-log.zip |
Filesize |
1.66 KB |
Downloaded |
199 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
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: 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
|
|
 |
jrb

Joined: 11 Dec 2007 Posts: 1103 Location: Smithers, BC, Canada
|
Posted: 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. , 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
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11193 Location: Ontario Canada,Sydney Australia
|
Posted: 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
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games 
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4786 Location: Kingwood, TX
|
Posted: 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.
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1434 Location: somewhere at the end of rainbow...
|
Posted: 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
|
|
 |
|
|
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
|