gw0kin / gnome2-globalmenu

Automatically exported from code.google.com/p/gnome2-globalmenu
GNU General Public License v2.0
0 stars 0 forks source link

Make GlobalMenu compatible with checkinstall #264

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Ayoli pointed out that it would simplify deb creation, and help us gain
traction among deb distribution. And Heck, sticking to standards is cool. :-)

Original issue reported on code.google.com by pierre.s...@gmail.com on 14 Jan 2009 at 4:44

GoogleCodeExporter commented 9 years ago
I believe make checkinstall failure is related to some notorious intltool 
problem
with .server and .desktop files. I have been trying to find a workaround for a 
while
with no luck.

Original comment by rainwood...@gmail.com on 15 Jan 2009 at 3:49

GoogleCodeExporter commented 9 years ago
Please confirm if the current trunk is compatible.
at leasst it passes make distcheck now.

Original comment by rainwood...@gmail.com on 15 Jan 2009 at 7:04

GoogleCodeExporter commented 9 years ago
Just PMed Ayoli to ask him to post here the answer to the question.

Original comment by pierre.s...@gmail.com on 17 Jan 2009 at 3:24

GoogleCodeExporter commented 9 years ago
Ok, if my meomry serves, the issue was a fail on changing permission on a file 
that
doesn't exist during install with checkinstall.
I tried to reproduce this by running checkinstall in the folder of the last rev 
I
compiled (1993) which failed to install with checkinstall so I installed with 
make
install.
Now running checkinstall here work, (maybe because the file exists now).
I tried to update svn to last rev, done a make clean but run into errors, 
probabely
due to my vala version.
Once I have hte last rev ompiling I'll give another feedback.

Original comment by ayoli...@gmail.com on 17 Jan 2009 at 4:00

GoogleCodeExporter commented 9 years ago
Ok, removed my globalmenu source dir and started from scratch with a checkout.
config and make went fine, then I ran sudo checkinstall and had this error :

[snip]
make[5]: entrant dans le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2110/gtk-modules/globalmenu »
make[6]: entrant dans le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2110/gtk-modules/globalmenu »
make[6]: Rien à faire pour « install-exec-am ».
test -z "/usr/lib/gtk-2.0/modules" || /bin/mkdir -p "/usr/lib/gtk-2.0/modules"
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c 
'libglobalmenu-gnome.la' '/usr/lib/gtk-2.0/modules/libglobalmenu-gnome.la'
libtool: install: /usr/bin/install -c .libs/libglobalmenu-gnome-0.7.2.so
/usr/lib/gtk-2.0/modules/libglobalmenu-gnome-0.7.2.so
libtool: install: (cd /usr/lib/gtk-2.0/modules && { ln -s -f
libglobalmenu-gnome-0.7.2.so libglobalmenu-gnome.so || { rm -f 
libglobalmenu-gnome.so
&& ln -s libglobalmenu-gnome-0.7.2.so libglobalmenu-gnome.so; }; })
libtool: install: /usr/bin/install -c .libs/libglobalmenu-gnome.lai
/usr/lib/gtk-2.0/modules/libglobalmenu-gnome.la
libtool: install: /usr/bin/install -c .libs/libglobalmenu-gnome.a
/usr/lib/gtk-2.0/modules/libglobalmenu-gnome.a
libtool: install: chmod 644 /usr/lib/gtk-2.0/modules/libglobalmenu-gnome.a
chmod: changing permissions of 
`/usr/lib/gtk-2.0/modules/libglobalmenu-gnome.a': No
such file or directory
make[6]: *** [install-libglobalmenu_gnomeLTLIBRARIES] Erreur 1
make[6]: quittant le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2110/gtk-modules/globalmenu »
make[5]: *** [install-am] Erreur 2
make[5]: quittant le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2110/gtk-modules/globalmenu »
make[4]: *** [install-recursive] Erreur 1
make[4]: quittant le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2110/gtk-modules/globalmenu »
make[3]: *** [install] Erreur 2
make[3]: quittant le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2110/gtk-modules/globalmenu »
make[2]: *** [install-recursive] Erreur 1
make[2]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2110/gtk-modules »
make[1]: *** [install-recursive] Erreur 1
make[1]: quittant le répertoire « /home/ayoli/gnome-globalmenu-0.7svn2110 »
make: *** [install] Erreur 2

****  Installation failed. Aborting package creation.

Cleaning up...OK

Original comment by ayoli...@gmail.com on 17 Jan 2009 at 4:10

GoogleCodeExporter commented 9 years ago
Then I ran sudo make install : went fine.
After I tried again sudo checkinstall and TADA ! it works (but only after a
successful make install).

Original comment by ayoli...@gmail.com on 17 Jan 2009 at 4:13

GoogleCodeExporter commented 9 years ago
seems to be a check-install problem? 
the library giving the error is a libtool 'module', therefore it shall never 
produce
any .a file.

Original comment by rainwood...@gmail.com on 18 Jan 2009 at 10:01

GoogleCodeExporter commented 9 years ago
Maybe.
Anyway this is not an important issue IMO. Build a deb with checkinstall is not 
a
good way to build a deb to spread the package to the world. The only purpose 
for me
is to have an easier ay to remove it than running make uninstall.
(note that in six years using checkinstall on debian, slackware and ubuntu,
globalmenu (since version 0.6) and vala (almost same issue) are the only 
softwares
that won't install with checkinstall).

Original comment by ayoli...@gmail.com on 19 Jan 2009 at 6:59

GoogleCodeExporter commented 9 years ago
Fixed I guess ?

Original comment by pierre.s...@gmail.com on 28 Mar 2009 at 9:05

GoogleCodeExporter commented 9 years ago
I think the po still fails checkinstall. @ayolinux, can you test against the 
latest
trunk?

Original comment by rainwood...@gmail.com on 29 Mar 2009 at 5:15

GoogleCodeExporter commented 9 years ago
Not fixed at rev 2444. Still the same error (failed chmod on libgnomenu.a).
Here's checkinstall output : 

========================= Installation results ===========================
make  install-recursive
make[1]: entrant dans le répertoire « /home/ayoli/gnome-globalmenu-0.7svn2444 
»
Making install in tools
make[2]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tools »
make  install-am
make[3]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tools »
make[4]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tools »
make[4]: Rien à faire pour « install-exec-am ».
make[4]: Rien à faire pour « install-data-am ».
make[4]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tools »
make[3]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tools »
make[2]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tools »
Making install in vapi
make[2]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/vapi »
make[3]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/vapi »
make[3]: Rien à faire pour « install-exec-am ».
make[3]: Rien à faire pour « install-data-am ».
make[3]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/vapi »
make[2]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/vapi »
Making install in tests
make[2]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tests »
make  install-am
make[3]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tests »
make[4]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tests »
make[4]: Rien à faire pour « install-exec-am ».
make[4]: Rien à faire pour « install-data-am ».
make[4]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tests »
make[3]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tests »
make[2]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/tests »
Making install in libcompat
make[2]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/libcompat »
make[3]: entrant dans le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/libcompat »
make[3]: Rien à faire pour « install-exec-am ».
make[3]: Rien à faire pour « install-data-am ».
make[3]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/libcompat »
make[2]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/libcompat »
Making install in libgnomenu
make[2]: entrant dans le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2444/libgnomenu »
make  install-recursive
make[3]: entrant dans le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2444/libgnomenu »
Making install in .
make[4]: entrant dans le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2444/libgnomenu »
make[5]: entrant dans le répertoire «
/home/ayoli/gnome-globalmenu-0.7svn2444/libgnomenu »
test -z "/usr/lib" || /bin/mkdir -p "/usr/lib"
 ../doltlibtool   --mode=install /usr/bin/install -c  'libgnomenu.la'
'/usr/lib/libgnomenu.la'
libtool: install: /usr/bin/install -c .libs/libgnomenu-0.7.4.so.2.0.0
/usr/lib/libgnomenu-0.7.4.so.2.0.0
libtool: install: (cd /usr/lib && { ln -s -f libgnomenu-0.7.4.so.2.0.0
libgnomenu-0.7.4.so.2 || { rm -f libgnomenu-0.7.4.so.2 && ln -s
libgnomenu-0.7.4.so.2.0.0 libgnomenu-0.7.4.so.2; }; })
libtool: install: (cd /usr/lib && { ln -s -f libgnomenu-0.7.4.so.2.0.0 
libgnomenu.so
|| { rm -f libgnomenu.so && ln -s libgnomenu-0.7.4.so.2.0.0 libgnomenu.so; }; })
libtool: install: /usr/bin/install -c .libs/libgnomenu.lai 
/usr/lib/libgnomenu.la
libtool: install: /usr/bin/install -c .libs/libgnomenu.a /usr/lib/libgnomenu.a
libtool: install: chmod 644 /usr/lib/libgnomenu.a
chmod: changing permissions of `/usr/lib/libgnomenu.a': No such file or 
directory
make[5]: *** [install-libLTLIBRARIES] Erreur 1
make[5]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/libgnomenu »
make[4]: *** [install-am] Erreur 2
make[4]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/libgnomenu »
make[3]: *** [install-recursive] Erreur 1
make[3]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/libgnomenu »
make[2]: *** [install] Erreur 2
make[2]: quittant le répertoire « 
/home/ayoli/gnome-globalmenu-0.7svn2444/libgnomenu »
make[1]: *** [install-recursive] Erreur 1
make[1]: quittant le répertoire « /home/ayoli/gnome-globalmenu-0.7svn2444 »
make: *** [install] Erreur 2

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

Original comment by ayoli...@gmail.com on 30 Mar 2009 at 10:33

GoogleCodeExporter commented 9 years ago
tested again with rev 2356 on jaunty and it works now.

I suspect that it was more a checkinstall issue than a globalmenu issue, 
because I had this bug with several  
applications install

Original comment by ayoli...@gmail.com on 26 Apr 2009 at 1:09