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 26 Jul 2014, 03:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
mtpaint 3.44.80- July 2014
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 9 [134 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 3212
Location: Ontario

PostPosted: Mon 31 Mar 2014, 20:19    Post subject:  

wjaguar wrote:
A classic case of mixed-up libraries.


Are you sure? I know that Slacko has different libraries but
I don't have any problems with installing this version of mtpaint
in Slacko 5.6 or 5.7


I did have problems installing the debian packages in anything other than
Lucid Puppy.

But I made those packages specifically for Ubuntu Lucid and Tahr.

________________________________________________

Edit - there is a 64 bit version of Slacko. Software compiled for
32 bit won't work on a 64 bit OS (unless there some type of
emulator)
__________________________________

Last edited by don570 on Sat 12 Apr 2014, 13:05; edited 1 time in total
Back to top
View user's profile Send private message 
wjaguar

Joined: 21 Jun 2006
Posts: 241

PostPosted: Tue 01 Apr 2014, 14:14    Post subject:  

don570 wrote:
wjaguar wrote:
A classic case of mixed-up libraries.
Are you sure?

The way to truly make sure is to run 'ldd mtpaint' on a live Slacko system. But apart from some miracle, the conflict will be there just as I described.
Quote:
I know that Slacko has different libraries but
I don't have any problems with installing this version of mtpaint
in Slacko 5.6 or 5.7

These problems can be not immediately obvious; sometimes it is GTK+, not mtPaint, that gets its PNG loader failing. In such cases, the only sign of something wrong may be broken file/directory icons in the builtin fileselector. If the theme used in GTK+ isn't itself heavily PNG-based, nothing else in mtPaint GUI will be affected, for I do not use GTK's stock icons anywhere else.
But which PNG loader is to fail, is entirely at the mercy of the dynamic loader and the Almighty Random. Smile

Quote:
But I made those packages specifically for Ubuntu Lucid and Tahr.

Building mtPaint with a subset of libs taken from another system is simple. At least, it is when the libs are downloadable as separate packages (like those from Ubuntu or Slackware). Just unpack them into some directory, and configure mtPaint this way:
./configure --fakeroot=somedir/usr
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3212
Location: Ontario

PostPosted: Mon 07 Apr 2014, 20:12    Post subject:  

I've been checking on compatibility. I downloaded and installed
Ubuntu Precise 12.04
http://www.ubuntu.com/download/desktop

I discovered that libtiff and lifgif aren't installed.
I was fooled by this because lubuntu CD has these libraries installed
and a free CD I have of Ubuntu Lucid has them installed as well.

Also I found that I couldn't use the installer, probably
because I didn't have the size of package listed in control file of
debian package.

But it is possible to install with a command at terminal

Code:
dpkg -i mtpaint-tahr-3.44.59.deb

http://manpages.ubuntu.com/manpages/saucy/en/man1/dpkg.1.html

But library dependencies must be met afterwards.

By installing the following two packages as well I should solve that
problem and have a debain mtpaint package that will
install in most Ubuntu versions.

http://archive.ubuntu.com/ubuntu/pool/main/t/tiff/tiff_4.0.3.orig.tar.gz
http://archive.ubuntu.com/ubuntu/pool/main/g/giflib/giflib_4.1.6.orig.tar.gz
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3212
Location: Ontario

PostPosted: Mon 07 Apr 2014, 20:23    Post subject:  

fakeroot is explained here

http://manpages.ubuntu.com/manpages/natty/man1/fakeroot-tcp.1.html
__________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3212
Location: Ontario

PostPosted: Sat 12 Apr 2014, 12:59    Post subject:  

I've improved the debian packages (I hope Rolling Eyes )

They should install easily. The Tahr and Precise versions should warn
that
libgif4_4.1.6-9ubuntu1_i386.deb
must be installed first.

The Lucid version doesn't need any dependencies.

For installation it shouldn't be necessary to use
dpkg -i <package_name>

____________________________________________________


mtpaint-debian-3.44.59.tar.gz
http://www.datafilehost.com/d/0f909e89

___________________________________________
Back to top
View user's profile Send private message 
wjaguar

Joined: 21 Jun 2006
Posts: 241

PostPosted: Mon 21 Apr 2014, 13:58    Post subject:  

don570 wrote:
fakeroot is explained here

mtPaint's "--fakeroot=" configure option is only remotely related to the eponymous program; it strives to achieve a like effect, purely through the use of shell macros and path substitutions. Precisely because I did not want to make 'fakeroot', which no distro installs by default, into a requirement.
Back to top
View user's profile Send private message 
sszindian


Joined: 24 Apr 2010
Posts: 600
Location: Pennsylvania U.S.

PostPosted: Sun 27 Apr 2014, 20:07    Post subject: Mtpaint  

The NEW 3.44.59 (from page-1 this thread) appears to be working OK now, at least in Slacko-5.6.55 (has the 3-10-19 Kernel).

It will now load a graphic from within Mtpaint itself and also load a graphic from an outside folder using the right-click, load with, then select Mtpaint.

We'll see how it holds up? Wink

"thanks for your efforts here Don!'

>>>---Indian------>

_________________
Cloud Computing For Every Puppy (a .pet)
http://murga-linux.com/puppy/viewtopic.php?t=69192
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 525
Location: nyc

PostPosted: Sun 27 Apr 2014, 20:55    Post subject:  

what's libtiff.so4? i have a machine that won't run mtpaint because of this error.

thanks in advance.
Back to top
View user's profile Send private message 
Moat

Joined: 16 Jul 2013
Posts: 156

PostPosted: Mon 28 Apr 2014, 00:02    Post subject:  

Puppus Dogfellow wrote:
what's libtiff.so4?


Libtiff is a library for reading and writing Tagged Image File Format (abbreviated TIFF) image files. Maybe search "libtiff" in your Pup's PPM for an available package to install and try...?

Bob
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 525
Location: nyc

PostPosted: Mon 28 Apr 2014, 01:07    Post subject:  

Moat wrote:
Puppus Dogfellow wrote:
what's libtiff.so4?


Libtiff is a library for reading and writing Tagged Image File Format (abbreviated TIFF) image files. Maybe search "libtiff" in your Pup's PPM for an available package to install and try...?

Bob


thanks for the reply, Bob.

would that being missing alone be enough to stop it from launching? anyway, i checked the PPM and found i have one of the five things labeled with "tiff" installed, but none are that libtiff.so4 file. (i think i tried to hunt it (or whatever an earlier error message gave) down as a deb before, having already failed at getting it through the PPM (since updated at least twice and so was worth another shot).

you think installing the other four things may break something else?

...kinda sucks--i really like mtpaint.

edit: added everything with libtiff that i could find in the PPM. didn't break anything but neither did it fix the problem.
Back to top
View user's profile Send private message 
wjaguar

Joined: 21 Jun 2006
Posts: 241

PostPosted: Mon 28 Apr 2014, 13:40    Post subject:  

Puppus Dogfellow wrote:
would that being missing alone be enough to stop it from launching?

Naturally. Same as with any other missing library.
Quote:
edit: added everything with libtiff that i could find in the PPM. didn't break anything but neither did it fix the problem.

How so? Do you now have an /usr/lib/libtiff.so.* at all, and if you do, then what is the number after .so. ?
Anyhow, it might have been that libtiff.so.4 is not the *only* lib that is missing on your system; running "ldd mtpaint" would report what (if anything) is missing now.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3212
Location: Ontario

PostPosted: Mon 28 Apr 2014, 19:57    Post subject:  

Make sure that you are running a 32 bit version of Puppy linux
because there are some 64 bit versions available but they don't
run the 32 bit version of mtpaint.

Recent versions of linux are using libtiff.so.5 however it
is much larger in size apparently to open
various compressed tiff files .

I compiled this mtpaint in Puppy linux 4.3.1
which is quite old.

Making a link is simple
Code:
ln -s libtiff.so.5 libtiff.so.4


________________________________________________
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 525
Location: nyc

PostPosted: Tue 29 Apr 2014, 00:14    Post subject:  

don570 wrote:
Make sure that you are running a 32 bit version of Puppy linux
because there are some 64 bit versions available but they don't
run the 32 bit version of mtpaint.

Recent versions of linux are using libtiff.so.5 however it
is much larger in size apparently to open
various compressed tiff files .

I compiled this mtpaint in Puppy linux 4.3.1
which is quite old.

Making a link is simple
Code:
ln -s libtiff.so.5 libtiff.so.4


________________________________________________



Posting from a phone with an iffy connection...


Don, I tried your suggestion and it said it couldn't do it because libtiffso4 was already installed. (Launching it gave the same error about it missing, though.) It is a 32 bit puppy (571), but after taking wjaguar's suggestion, "/.mtpaint not found" or doesn't exist--not by the machine now, but that at least seems solvable. Less of a paradox in any event.

Guess i'll try to track it down. Thanks for the help, guys.
(did; clicking the cog-like icon didn't work either)

And wjaguar, I just clicked on what the ppm offered tiff-wise.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3212
Location: Ontario

PostPosted: Tue 29 Apr 2014, 16:22    Post subject:  

I believe Barry Kauler made Puppy Precise differently than
his previous puppies.

He installed full files of liftiff.so.5 and libtiff.so.4 not links.
You can check this in the lib folder.

I think he did this to have compatibility with older pet packages
and with Ubunutu debian packages. Maybe an installation of a repository
package has removed the full libtiff.so.4 and replaced it with a link??

You should try my precise debian package which just needs liftiff.so.5
to be installed.

http://www.datafilehost.com/d/0f909e89

______________________________________________

Last edited by don570 on Tue 29 Apr 2014, 16:27; edited 2 times in total
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 525
Location: nyc

PostPosted: Tue 29 Apr 2014, 16:23    Post subject:  

thanks, don. will do.

same result. is there a .deb or something for libtiff.so.5?

edit: fixed it.

here's how: there was a libtiff.so.4.3 in usr/lib and two dead links (libtiff3, libtiff4) in /lib. i renamed a copy of libtiff.so.4.3 libtiff.so.4 and dragged the file as a link to /lib. both the dead links repaired themselves and mtpaint launched.

Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 9 [134 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
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.0977s ][ Queries: 13 (0.0067s) ][ GZIP on ]