On 12/17/05, Calin <[EMAIL PROTECTED]> wrote:
> On Saturday 17 December 2005 09:16, Alexander K. Hansen wrote:
> > On 12/17/05, Calin <[EMAIL PROTECTED]> wrote:
> > > $ fink install snort
> > >
> > > Information about 5198 packages read in 3 seconds.
> > >
> > > fink needs help picking an alternative to satisfy a virtual dependency.
> > > The candidates:
> > > (1)     samba: SMB and CIFS client and server for UNIX
> > > (2)     samba-ldap: SMB and CIFS client and server for UNIX
> > >
> > > Why the above? MacOSX comes "pre-built" with Samba?!?
> > >
> > > TIA,
> > > Calin
> >
> > Find out for us!
> >
> > Edit the snort.info file (I suggest copying
> > /sw/fink/10.4-transitional/unstable/main/finkinfo/net/snort.info
> > into /sw/fink/10.4-transitional/local/main/finkinfo for safety) to
> > remove the dependency on samba, and then let fink build it.  If the
> > package runs fine with the built in samba, then we can see whether the
> > dependency still needs to be there, or if we want to have some sort of
> > virtual package, or...
> > --
> > Alexander K. Hansen
> > Fink Documenter
> > [Day Job] Levitated Dipole Experiment
> > http://psfcwww2.psfc.mit.edu/ldx/
>
> Thanks for the quick answer - I will certainly try what you're suggesting. I
> guess my question was also a little more general than that, as the $subj
> should have implied: is there a way to offer fink package installation with
> another option for every "missing" dependency, with the path where a specific
> required package is installed (a-la config/make/make install in the other
> *nix world)? Can I modify the info file (or something else) to do that, just
> in case other dependencies show up, down the road?!?
>
> Thx,
> Calin
>

You can indeed modify .info files to do that.  There is a line in the
.info files called ConfigureParams:, for example, which contains all
of the flags that you'd normally feed to ./configure.

Basically these files just provide an interface to the standard methods.
--
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to