After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 351522 - Cannot make install using Dapper
Cannot make install using Dapper
Status: RESOLVED NOTABUG
Product: f-spot
Classification: Other
Component: General
CVS
Other Linux
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-15 19:51 UTC by Kevin Breit
Modified: 2008-07-16 07:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kevin Breit 2006-08-15 19:51:56 UTC
I am using Ubuntu Dapper and when I try to make install, I get:

make[1]: Entering directory `/home/kbreit/downloads/f-spot/po'
make[1]: install_sh@: Command not found
make[1]: *** [install-data-yes] Error 127
Comment 1 Kevin Breit 2006-08-15 19:57:14 UTC
My only configure parameters were --prefix=/home/kbreit/bin/f-spot-CVS/

Everything else is stock and default.
Comment 2 Bengt Thuree 2006-08-15 23:44:55 UTC
For one reason or another, make can not expand the path to install-sh.
(I have never been able to get rid of this annoying problem!)

Workaround:

Manually specify the path to install-sh in po/Makefile.

Generic sample below:
vi po/Makefile
...
   install_sh = @install_sh@
   install_sh = <PATH TO MAIN F-SPOT DIRECOTRY>/install-sh
...

Specific sample according to this bug below:
vi po/Makefile
...
   install_sh = @install_sh@
   install_sh = /home/kbreit/downloads/f-spot/install-sh
...


Comment 3 Stephane Delcroix 2006-08-16 09:30:14 UTC
AFAIK, this is *not* an f-spot bug:
- it's only reported on ubuntu installations
- Bengt encounter the same problem on his ubutuntu machine with other applications

If I'm wrong, please re-open the bug
Comment 4 Marco Aicardi 2006-08-28 23:45:17 UTC
While trying to patch F_SPOT_QUERY in order to add Find Duplicates function (here my patch http://bugzilla.gnome.org/show_bug.cgi?id=139796), I have written a small script which helps me buiding F-Spot.

A part of the script patches the po/Makefile that stops Ubuntu from installing F-Spot.

Comments are welcome.

Marco

P.S.: Please note that running this script DELETES your actual installed F-Spot version and DELETES the f-spot-query CVS directory from your HD; if you DO NOT want this, leave lines commented!


## Delete old installation
# sudo rm -f /usr/local/bin/f-spot
# sudo rm -fr /usr/local/lib/f-spot

## Delete old sources
# sudo rm -fr f-spot-query

# Download F_SPOT_QUERY sources
cvs -z3 -d:pserver:anonymous@anoncvs.gnome.org:/cvs/gnome co -r F_SPOT_QUERY -d f-spot-query -P f-spot

# Enter source directory
cd f-spot-query

# Auto configure
./autogen.sh

# Prepare Ubuntu patch file for installation
echo "--- po/Makefile	2006-08-27 09:21:39.780192250 +0200" > po_makefile_patch
echo "+++ po/Makefile.new	2006-08-27 09:22:12.566241250 +0200" >> po_makefile_patch
echo "@@ -36,7 +36,8 @@" >> po_makefile_patch
echo " DATADIRNAME = share" >> po_makefile_patch
echo " itlocaledir = \$(prefix)/\$(DATADIRNAME)/locale" >> po_makefile_patch
echo " subdir = po" >> po_makefile_patch
echo "-install_sh = @install_sh@" >> po_makefile_patch
echo "+# install_sh = @install-sh@" >> po_makefile_patch
echo "+install_sh = `pwd`/install-sh" >> po_makefile_patch
echo " # Automake >= 1.8 provides @mkdir_p@." >> po_makefile_patch
echo " # Until it can be supposed, use the safe fallback:" >> po_makefile_patch
echo " mkdir_p = \$(install_sh) -d" >> po_makefile_patch

# Patches po/Makefile to solve Ubuntu Bug
patch -p0 < po_makefile_patch

# Patches F_SPOT_QUERY addind Find Duplicates function
# Comment line if you have not my patch or do not want to use it
patch -p0 < f-spot-query_to_f-spot-duplicates-query.patch

# Compile
make all

# Install
sudo make install
Comment 5 Larry Gryziak 2008-06-14 13:57:52 UTC
Is this the same bug when I try to build?
I'm on Ubuntu 7 Feisty ...

I could not get at Marco's fix....

make[2]: Entering directory `/home/gryz/packages/fspot/f-spot-0.4.4/po'
file=`echo ar | sed 's,.*/,,'`.gmo \
          && rm -f $file &&  -o $file ar.po
/bin/sh: -o: not found
make[2]: *** [ar.gmo] Error 127
make[2]: Leaving directory `/home/gryz/packages/fspot/f-spot-0.4.4/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gryz/packages/fspot/f-spot-0.4.4'
make: *** [all] Error 2
gryz@ate:~/packages/fspot/f-spot-0.4.4$

Cheers,

Larry
Comment 6 Jared M. 2008-07-15 19:53:36 UTC
(In reply to comment #5)
> Is this the same bug when I try to build?
> I'm on Ubuntu 7 Feisty ...
> 
> I could not get at Marco's fix....
> 
> make[2]: Entering directory `/home/gryz/packages/fspot/f-spot-0.4.4/po'
> file=`echo ar | sed 's,.*/,,'`.gmo \
>           && rm -f $file &&  -o $file ar.po
> /bin/sh: -o: not found
> make[2]: *** [ar.gmo] Error 127
> make[2]: Leaving directory `/home/gryz/packages/fspot/f-spot-0.4.4/po'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gryz/packages/fspot/f-spot-0.4.4'
> make: *** [all] Error 2
> gryz@ate:~/packages/fspot/f-spot-0.4.4$
> 
> Cheers,
> 
> Larry
> 

I had the same error.  It was fixed when I ran:

$: sudo apt-get build-dep f-spot

Comment 7 Larry Gryziak 2008-07-15 20:21:41 UTC
Thanks Jared!

I get something different now ;(

-spot-logo.svg,f-spot-logo.svg  -resource:../icons/flower.png,flower.png
./Filters/ColorFilter.cs(62,30): warning CS0108: `FSpot.Filters.AutoStretch.Tests' hides inherited member `FSpot.Filters.ColorFilter.Tests'. Use the new keyword if hiding was intended
./Filters/ColorFilter.cs(218,30): (Location of the symbol related to previous warning)
./ControlOverlay.cs(138,43): error CS1501: No overload for method `Cairo.SolidPattern' takes `1' arguments
./ControlOverlay.cs(144,43): error CS1501: No overload for method `Cairo.SolidPattern' takes `1' arguments
./ControlOverlay.cs(210,49): warning CS0618: `FSpot.Widgets.CairoUtils.CreateContext(Gdk.Drawable)' is obsolete: `use Gdk.CairoHelper.Create instead'
./ControlOverlay.cs(226,49): warning CS0618: `FSpot.Widgets.CairoUtils.CreateContext(Gdk.Drawable)' is obsolete: `use Gdk.CairoHelper.Create instead'
./Core.cs(167,66): warning CS0618: `PhotoStore.Query(FSpot.Tag[])' is obsolete: `drop this, use IQueryCondition correctly instead'
./Core.cs(169,60): warning CS0618: `PhotoStore.Query(FSpot.Tag[])' is obsolete: `drop this, use IQueryCondition correctly instead'
./PhotoQuery.cs(33,40): warning CS0618: `PhotoStore.Query(FSpot.Tag[], string, FSpot.Query.DateRange, FSpot.Query.RollSet, FSpot.Query.RatingRange)' is obsolete: `drop this, use IQueryCondition correctly instead'
./UI.Dialog/PreferenceDialog.cs(81,46): warning CS0219: The variable `desc_cell' is assigned but its value is never used
./UI.Dialog/PreferenceDialog.cs(80,46): warning CS0219: The variable `name_cell' is assigned but its value is never used
Compilation failed: 2 error(s), 8 warnings
make[2]: *** [f-spot.exe] Error 1
make[2]: Leaving directory `/home/gryz/packages/fspot/f-spot-0.4.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gryz/packages/fspot/f-spot-0.4.4'
make: *** [all] Error 2
gryz@ate:~/packages/fspot/f-spot-0.4.4$ 
Comment 8 Stephane Delcroix 2008-07-16 07:52:26 UTC
Larry: apply the patch committed ar r4035, use the previous release, or wait for the next one