VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Packaging question (VL59)  (Read 4935 times)

Dweeberkitty

  • Packager
  • Vectorian
  • ****
  • Posts: 836
    • Multimedia Bonus Disc
Packaging question (VL59)
« on: October 13, 2007, 09:40:05 am »

Okay, this is probably a stupid question. But... I'm having trouble packing things on VL59. Here's the deal:

The programs configure fine and compile fine. However, when I run checkinstall -L, I get an error like this (from ilmbase):
Quote
chmod 644 /usr/lib/libHalf.a
chmod: changing permissions of `/usr/lib/libHalf.a': No such file or directory
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/home/dweeberkitty/CinelerraStuff/ilmbase-1.0.0/Half'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/dweeberkitty/CinelerraStuff/ilmbase-1.0.0/Half'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/dweeberkitty/CinelerraStuff/ilmbase-1.0.0/Half'
make: *** [install-recursive] Error 1

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

It has trouble chmodding a file but it says that the file doesn't exist. This happens on every single program that I try to compile. Here's another one, from libiec61883:
Quote
chmod 644 /usr/local/lib/libiec61883.a
chmod: changing permissions of `/usr/local/lib/libiec61883.a': No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/dweeberkitty/CinelerraStuff/libiec61883-1.1.0/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/dweeberkitty/CinelerraStuff/libiec61883-1.1.0/src'
make: *** [install-recursive] Error 1

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

I'm sure there's a simple solution. But this is bugging me. I can't get anything packaged. What's going on here? Thanks in advance!
Logged
Registered Linux User #443399
Desktop: Intel Pentium D 3.33Ghz, 320GB hard drive, 2 gigs DDR2 533mhz RAM, NVIDIA Geforce 7800 GS, X2GEN 22" widescreen monitor;
Laptop: Dell Mini 9, Intel Atom 1.6Ghz, 1GB ram
Multimedia Bonus Disc website: http://www.vectorlinuxsolutions.com/

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Packaging question (VL59)
« Reply #1 on: October 13, 2007, 09:57:56 am »

Perhaps it has something to do with this?
http://www.asic-linux.com.mx/~izto/checkinstall/
I don't use checkinstall hardly at all so I couldn't tell ya.
Logged

Dweeberkitty

  • Packager
  • Vectorian
  • ****
  • Posts: 836
    • Multimedia Bonus Disc
Re: Packaging question (VL59)
« Reply #2 on: October 13, 2007, 10:22:43 am »

Thanks for the link. But it didn't work. I get the same error. BTW what do you use?
Logged
Registered Linux User #443399
Desktop: Intel Pentium D 3.33Ghz, 320GB hard drive, 2 gigs DDR2 533mhz RAM, NVIDIA Geforce 7800 GS, X2GEN 22" widescreen monitor;
Laptop: Dell Mini 9, Intel Atom 1.6Ghz, 1GB ram
Multimedia Bonus Disc website: http://www.vectorlinuxsolutions.com/

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Packaging question (VL59)
« Reply #3 on: October 13, 2007, 10:26:00 am »

it was reported here: http://www.vectorlinux.com/forum2/index.php?topic=4428.0
you ran "checkinstall -L --fstrans=no" ?
it works for me.
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Packaging question (VL59)
« Reply #4 on: October 13, 2007, 10:26:50 am »

I write slackbuilds using requiredbuilder and makepkg.
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Logged

Dweeberkitty

  • Packager
  • Vectorian
  • ****
  • Posts: 836
    • Multimedia Bonus Disc
Re: Packaging question (VL59)
« Reply #6 on: October 13, 2007, 10:52:09 am »

it was reported here: http://www.vectorlinux.com/forum2/index.php?topic=4428.0
you ran "checkinstall -L --fstrans=no" ?
it works for me.


Yes I ran exactly that but I still got the same error.
Logged
Registered Linux User #443399
Desktop: Intel Pentium D 3.33Ghz, 320GB hard drive, 2 gigs DDR2 533mhz RAM, NVIDIA Geforce 7800 GS, X2GEN 22" widescreen monitor;
Laptop: Dell Mini 9, Intel Atom 1.6Ghz, 1GB ram
Multimedia Bonus Disc website: http://www.vectorlinuxsolutions.com/

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Packaging question (VL59)
« Reply #7 on: October 13, 2007, 11:06:00 am »

some packages you have to do a make install before running checkinstall.
I usually search google for  PKGNAME.slackbuild for the packages i build then just modify the slackbuild and use it.

Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Packaging question (VL59)
« Reply #8 on: October 13, 2007, 11:48:02 am »

some packages you have to do a make install before running checkinstall.
I usually search google for  PKGNAME.slackbuild for the packages i build then just modify the slackbuild and use it.



Yep!  Or you can search for PKGNAME.spec or src.rpm, and decipher the specfile.  It's a good source for writing summaries and descriptions also.
Logged

Dweeberkitty

  • Packager
  • Vectorian
  • ****
  • Posts: 836
    • Multimedia Bonus Disc
Re: Packaging question (VL59)
« Reply #9 on: October 13, 2007, 01:43:43 pm »

some packages you have to do a make install before running checkinstall.
I usually search google for  PKGNAME.slackbuild for the packages i build then just modify the slackbuild and use it.



Okay, I'll give that a try. Thanks!

Edit: Worked like a charm! I don't understand why exactly. Could someone explain why make install needs to be run sometimes before checkinstall? Why didn't I have to do this on VL5.8?
« Last Edit: October 13, 2007, 03:14:05 pm by Dweeberkitty »
Logged
Registered Linux User #443399
Desktop: Intel Pentium D 3.33Ghz, 320GB hard drive, 2 gigs DDR2 533mhz RAM, NVIDIA Geforce 7800 GS, X2GEN 22" widescreen monitor;
Laptop: Dell Mini 9, Intel Atom 1.6Ghz, 1GB ram
Multimedia Bonus Disc website: http://www.vectorlinuxsolutions.com/

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: Packaging question (VL59)
« Reply #10 on: October 15, 2007, 02:19:51 am »

Could someone explain why make install needs to be run sometimes before checkinstall? Why didn't I have to do this on VL5.8?
Can't quite say why, but I've had to do it for certain packages since forever (forever=VL4.0, lol, and yes, that includes 5.8 and 5.9).
« Last Edit: October 15, 2007, 02:21:23 am by Joe1962 »
Logged
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Packaging question (VL59)
« Reply #11 on: October 15, 2007, 07:00:09 am »

Quote
Could someone explain why make install needs to be run sometimes before checkinstall?
Sometimes "make install" tries to do something to a file or directory it has installed/created. But if you use checkinstall, it runs 'make install' but intercepts these files, the file is never installed there, but put somewhere in /tmp. So when make install tries to make a change to that file/directory (like change it's permissions as was the case here) it is not found and "make install" errors out.

Quote
Why didn't I have to do this on VL5.8?
Good question....
Logged
Most music on my soundcloud page was arranged in programs running on VL.