Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old February 15th, 2006   #1
philxxx
First Cup of Ubuntu
 
Join Date: Feb 2006
Beans: 9
Question Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

Hi,

I switched from Mac OS X to Ubuntu a few weeks ago after my iBook died and went through a steep learning curve
I've succesfully updated most important apps, tried KDE (and witched back to GNOME) but now I'm stucked with the installation of Mapivi.

Mapivi (http://mapivi.sourceforge.net/mapivi.shtml) is an opensource picture manager that supports IPTC metadata.

Under Mac OS X and Windows there are different applications available, but it seems that mapivi is the only program that really supports IPTC - very important for me.

Unfortunately I'm unable to get a running mapivi-system on my Ubuntu v5.10.
I think I've read every manual and stumbled through a lot of posts asking for help.

Before I post the error messages I got, I would like to ask if there is ANYBODY out there who is using mapivi on ubuntu or who can point me to another application supporting IPTC metadata?

Following the installation requirements for mapivi, it seems that the problem is that I can't get Tk::JPEG module installed.

So to sum up:
1) has anybody installed Tk::JPEG on Ubuntu and can post a short howto?
2) has anybody installed mapivi?

I like linux, but I can't believe that there is no soulution for picture organizing using ITPC-metadata...

regards from berlin / germany

p hil
philxxx is offline   Reply With Quote
Old May 2nd, 2006   #2
Martin-Herrmann
5 Cups of Ubuntu
 
Join Date: May 2006
Beans: 27
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

Hi,

you should install the newest version of Perl/Tk (http://search.cpan.org/~ni-s/Tk-804.027/).
This version includes Tk::JPEG.
Following these steps: unzip, unpack, perl Makefile.PL, make, make test, sudo make install.
I had to install several other packages using apt-get (cc, gcc, X11-Include files etc.) on my Ubuntu v5.10 first.
Please drop me an email if you need further assistance.

Regards,
Martin - Author of Mapivi
Martin-Herrmann is offline   Reply With Quote
Old May 2nd, 2006   #3
Martin-Herrmann
5 Cups of Ubuntu
 
Join Date: May 2006
Beans: 27
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

Hi again,

I repeated the Mapivi installation on another Ubuntu 5.10 system today.
Here are the steps needed.

First, to install Perl-Tk you need some other packages:
> sudo apt-get install make
> sudo apt-get install libx11-dev
> sudo apt-get install gcc
> sudo apt-get install build-essential
> sudo apt-get install libncourses5-dev (I'm not really sure if this is needed)
> sudo apt-get install libstdc++6-dev (I'm not really sure if this is needed)

Then download Perl/Tk (http://search.cpan.org/~ni-s/Tk-804.027/), unzip and unpack it and change to the unpacked directory Tk-804-027.
Then:
> perl Makefile.PL
> make
> make test (some tests may fail, that's no problem)
> sudo make install

Now Perl-Tk is installed.

The next step is to install two more Perl modules.
Download
http://search.cpan.org/~bettelli/Ima...ata-JPEG-0.15/ and
http://search.cpan.org/~tels/Image-Info-1.21/

For each unzip, unpack and enter into the directory and do
> perl Makefile.PL
> make
> make test
> sudo make install

Now you should be able to start Mapivi by simply typing
> mapivi
in the mapivi directory.
If it is working you may copy mapivi to e.g. /usr/local/bin/.

You may later add the optional modules:
http://search.cpan.org/~xpix/Tk-ResizeButton-0.01/
http://search.cpan.org/~whom/Tk-MatchEntry-0.4/
with the same procedure like described above.

Regards, Martin
Martin-Herrmann is offline   Reply With Quote
Old June 1st, 2006   #4
Martin-Herrmann
5 Cups of Ubuntu
 
Join Date: May 2006
Beans: 27
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

Warning!

Perl/Tk 804.027 has a bug, all Perl/Tk apps crash with a segfault when run
alongside GTK apps, when a GTK version later than 2.8.0 is used.

But here is the bug description and a bug fix:
https://launchpad.net/distros/ubuntu...erl/+bug/27261

Here is a brief description how I applied the bug fix:
http://ubuntuforums.org/showthread.p...erl%2Ftk+gnome

Since applying that patch my Perl/Tk applications no longer crash when starting Gnome or GTK applications, like Nautilus, GIMP, etc.!

Regards, Martin
Martin-Herrmann is offline   Reply With Quote
Old October 8th, 2006   #5
salguod
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 22
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

I was able to install Perl-tk with "sudo apt-get install perl-tk"
douglas
salguod is offline   Reply With Quote
Old October 9th, 2006   #6
salguod
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 22
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

ok, well now mapivi works but....
First, while playing with the options (preferences) I tried out several fonts because I find the default one to be rather ugly. one of the fonts I chose is worse than the original and i cannot change it back because the "apply" button has dissappeared!

Second, i can only use Mapivi when I open it as root in terminal. When I try to run it as my user it I get an error than It cannot create or access a file it needs.

These are the messages:
"Mapici would like to create a directory /home/douglas/.maprogs/mapivi in your home directory to store the configuration of MApivi and some button and background pictures"

I click "OK" then:
"Error making configdir /home/douglas/.maprogs/mapivi: Permission denied"
I click OK again, then the progam opens, but in the original form, without the reformated fonts. It seems to work Ok, but I cannot quit the program!

When I chose to quit, I get another error message:
"can't create /home/douglas/.maprogs/mapiviSearchDataBase: Permission denied at mapivi line 5696"

I click ok, the message goes away and the program stays open.

The only way I can quit is to shut down the computer.

Is there any way to uninstall mapivi so I can reinstall it as user (i installed it as root)?

salguod
salguod is offline   Reply With Quote
Old October 9th, 2006   #7
salguod
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 22
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

ok, I made progress. I blieve it is fully funcional now.

The issue I had was the "hidden" file called ".mapivi" in my home directory. I deleted it then ran mapivi again as user (not root), which made a new one.

Deleting it wasn't so simple though...
I had to go to into my home folder in terminal (konsole): cd /home/douglas/

to list "hidden" files in terminal, i used "ls -a"

to see their permissions, i used "ls -al"

i changed the .maprogs permissions with chmod: chmod a+rwx .maprogs

then i went to konqueror (i guess that would be nautilus for ubuntu), chose to "show hidden files" in the "view" menu, then moved it to the trash then smptied the trash.

that's it!
salguod is offline   Reply With Quote
Old October 9th, 2006   #8
salguod
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 22
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

oops, the hidden file in the second sentence is called ".maprogs" not ".mapivi"
sorry for the confusion
salguod is offline   Reply With Quote
Old April 9th, 2007   #9
Scunizi
Dipped in Ubuntu
 
Scunizi's Avatar
 
Join Date: Mar 2006
Location: San Diego Calif
Beans: 570
Ubuntu 8.10 Intrepid Ibex
Send a message via ICQ to Scunizi Send a message via MSN to Scunizi Send a message via Yahoo to Scunizi Send a message via Skype™ to Scunizi
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

I have an error in line 193 (use Image::Info qw(image_info dim); when running perl mapivi. Since I'm running Dapper 6.06 I have not applied the patch listed above. Is the patch related to the error I'm getting?
__________________
I'm hungry, I have a headache, I want to play, the white cat looks tasty, where's my bone, Brush Me, don't brush me, Flea! Flea! Woof!
Scunizi is offline   Reply With Quote
Old April 16th, 2007   #10
Martin-Herrmann
5 Cups of Ubuntu
 
Join Date: May 2006
Beans: 27
Re: Help: Installation of Mapivi (IPTC Picture-Organizer) & Tk::JPEG

Hi,

what kind of error do you get?
I would assume, that the Perl module Image::Info is missing.
You will find information about the Mapivi requirements (needed modules) here: Mapivi Requirements.

Regards
Martin
Martin-Herrmann is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:35 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry