On Sat, 30 Mar 2002, Josh  Kuperman wrote:

> Because it has a smaller (by today's standards) harddrive, I decided to
> just use the stable binary packages so I wouldn't need to install the
> developers tools.  I also decided that I would use Mozilla, but instead
> of installing with Fink, I just installed the Mozilla package. 
> 
> 1. Did I violate some rule?

No rule that I know of, but I can't explain why it's not working right,
aside from pointing out that the binary stuff lags behind the source
versions, often by a significant amount of time/versions...

> 2. Is there a way to start Mozilla or other programs in /Applications
>    from the command line?

Use "open", as in

 [1]  % open ~/Sites/index.html
 [2]  % open /Applications/Internet\ Explorer.app
 [3]  % open -a /Applications/Internet\ Explorer.app ~/Sites/index.html

Version 1 opens the document, using the application handler assigned to
that document type by the system. Version 2 opens an application. Version
3 opens a document, bur forcing it to be opened in the application given
with the -a switch instead of whatever the default handler might be. So:

 * just view it (probably)
   % open ~/Pictures/guernica.jpg

 * just view it (definately)
   % open -a /Applications/Preview.app ~/Pictures/guernica.jpg

 * edit it (definately)
   % open -a /Applications/Photoshop.app  ~/Pictures/guernica.jpg

>    like to be able to start them.  I have a fink installed Mozilla on
>    one my (iMac) desktop where I can simply type "Mozilla" from within
>    a shell inside X windows. On the powerbook I need to click an icon.

Well, if it's the OSX port of Mozilla, as seems to be the case here, then
"open $path/Mozilla.app" will work. On the other hand if you wanted to
launch the X11 version, or any other X application, you can do so by just
typing (in this case) "mozilla" but you also have to have the DISPLAY
environment variable set correctly. Off the top of my head I forget how to
do this... :/
 
> 3. I noticed that there are some apps which are available as binary
>    but have dependencies that are not available. Since I have two
>    machines with Fink installed is there a way to copy over apps from
>    my compiled machine to fulfill dependencies that can't be handled
>    as binaries.

Can you find & copy over the .deb files under /sw/fink/dists? I've been
curious if this would work, but haven't been able to try it...

> 4. Is there a better way to use dselect? It strikes me that the
>    command line interface for fink, is much much easier to use than
>    dselect. Can I use it and still wind up with just the binary
>    packages. I find it very hard to read and follow dselect and in
>    some cases I'm not quite sure if it is really resolving
>    dependencies.
 
Yeah, dselect annoys me too, even when it would be worth it to get
binaries from it instead of a long, slow manual build. You can with no
question put the sources from /sw/src over on your laptop, build from
there with Fink, and then remove the source files afterwards -- but you
might be too cramped for space to do this reliably. Might be worth a shot,
but I'm not sure...



-- 
Chris Devers                                [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/

"More war soon. You know how it is."    -- mnftiu.cc


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to