Giter VIP home page Giter VIP logo

Comments (7)

jneen avatar jneen commented on August 24, 2024

Hey Gavin,

Yeah, you need to specify dependencies with -d dependency. FPM will try to infer all it can about the package, but you have to tell it the rest.

see: https://github.com/jordansissel/fpm/blob/master/bin/fpm#L38

On the other hand, if you did use -d and it still came up empty, then this is a bug and I'll look into it.

--Jay

from fpm.

gsandie avatar gsandie commented on August 24, 2024

Thanks Jay. I had -d specified, was using:

https://gist.github.com/fc04c677e195c5f4a0f9

But I also tried with the deps using >=

Cheers, Gavin

from fpm.

jneen avatar jneen commented on August 24, 2024

Gotcha. I'll take a look later today, see if I can fix it.

from fpm.

jordansissel avatar jordansissel commented on August 24, 2024

Ahh, I think I figured it out. Patch coming.

from fpm.

jordansissel avatar jordansissel commented on August 24, 2024

Tested with this:

% fakeroot make install DESTDIR=/tmp/installdir
 % fpm -n grok -v 1.20110112.3203  -t deb -C /tmp/installdir -p grok-VERSION_ARCH.deb -d "libevent (> 1.4)" -d "libpcre3 (> 7)" -d "libtokyocabinet8 (> 1.4)" usr/bin usr/lib usr/include usr/share
% dpkg --info grok-1.20110112.3203-1_amd64.deb | grep Dep
 Depends: libevent (> 1.4), libpcre3 (> 7), libtokyocabinet8 (> 1.4)

Seems ok now.

fpm gem version 0.1.7 has this fix.

from fpm.

jordansissel avatar jordansissel commented on August 24, 2024

Closing. Feel free to reopen if this isn't fixed :)

from fpm.

gsandie avatar gsandie commented on August 24, 2024

Updated and tested and it works fine.

Thanks :)

Gavin

from fpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.