The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - General (http://hintsforums.macworld.com/forumdisplay.php?f=16)
-   -   Fink installed app working in 10.2 (http://hintsforums.macworld.com/showthread.php?t=5053)

sao 08-28-2002 04:05 PM

Fink installed app working in 10.2
 
Well, I installed 10.2 by 'archive and install'.

After I solved problems with PATH, and made a 'fink rebuild xfree86-rootless' (4.2.0-12) then XFree86 started with no problems through the XDarwin.app.

Remember that adding "unstable/main" to your list of trees in /sw/etc/fink.conf will give you access to the latest versions of packages, many of which include important fixes for 10.2.

I tested a bit to see what works and what doesn't and the apps that work well for me in 10.2 at the moment are:

Quote:

abiword--------1.0.2-1
autocutsel-----------0.6.2-1
bluefish--------------0.7-1
gimp-----------------1.2.3-9
geomview----------1.8.1-4
ghemical------------0.90-2
gperiodic -----------1.3.3-2
imagemagick--------5.4.5-1
lyx---------------------1.2.0-6
maxima---------------5.9pre-2
mozilla----------------1.0.0-1
oregano--------------0.23-1
pymol-----------------0.82-1
starplot---------------0.92.3-1
xchat------------------1.8.10-1
xemacs--------------21.5.4-2
xephem --------------3.5.2-5
xmms------------------1.2.7-3
xmms-gdancer-------0.4.5-2
xv-----------------------3.10a-2
rxvt---------------------2.7.8-1
eterm-------------------0.9-1
aterm-------------------0.4.2-2
The following crashed:
Quote:

xterm
evolution-----------1.0.7-1
grace----------------5.1.8-3
gvim
scigraphica---------0.8.0-3
screen--------------3.9.11-1
siag-----------------3.5.2-1
Will keep testing, and report back.


Cheers...

wayneyoung 08-28-2002 07:14 PM

Thank you. I have been relunctant to load xfree86, but now I'll go ahead. Also, to add to your list of what works.

wget-ssl
ncftp
nano
anacron
curl-ssl

and all required files for these to work.

Cheers!

sao 08-29-2002 04:05 AM

Some others that work for me:
Quote:

chemtool---------------1.4.1-2
blackbox-rootless-----0.62.1-1
icemc--------------------0.2.2-1
icewm-------------------1.2.0-2
man----------------------1.5k-1
launch-------------------1.0a9-2
rasmol-------------------2.7.1.1-2
sodipodi-----------------0.24.1-2
sunclock-----------------3.46-1
sdl------------------------1.2.4-2
unrtf----------------------0.18.1-1
windowmaker----------0.80.1-1
wmcalclock-------------1.25-1
wmspaceweather-----1.04-1
wmmp3------------------0.12-1
wmsun-------------------1.03-2
xgalaga------------------2.0.34-1
xmahjongg--------------3.5-1
not working at the moment:
Quote:

scilab-----------2.6-8
gv------------------3.5.8-4
mplayer----------0.90pre4-1

Cheers...

sao 08-29-2002 06:48 AM

Picked out from the fink lists on 10.2:

1-/sw/bin/python on 10.2 ?
From CVS source. You must rebuild readline first, though:

sudo 'fink rebuild readline'

2-Problems with /sw/bin/bash and readline?
Rebuild bash from CVS source against a rebuild readline.

3-Trying to compile KDE in 10.2 ?
Benjamin Reed is right now in the process of getting everything cleaned up for 10.2 with KDE. The KDE 3.0.2 packages in unstable will *not* build properly on Jaguar yet.

4-aspell ?
Does not yet compile on gcc3/jaguar due to C++ problems.

7- pspell ?
It does compile, it's added to the 10.2 tree (with a version bump)

8-Bitchx ?
Chris Zubrzycki checked in updated descriptions into cvs not long ago.

9-Problems compiling emacs21 on 10.2 ?
Update to the latest emacs. selfupdate-cvs. The jaguar-fixed version has been checked in already.


In general, any package that was build for dynamic linking against the system curses library has to be rebuilt, because Apple moved that library. An earlier posting from fink developers indicated that a fink upgrade that does all this will appear at some point soon.


Cheers...

sao 08-29-2002 09:23 AM

Well, Siag is working now.

I had to run 'fink reinstall xaw3d', and then it worked.

So then, also working:

Siag--------------3.5.2-1
gnucash---------1.6.8-1
lynx-------------2.8.4-1
dillo---------------0.6.6-1
enlightenment------0.16.5-7
fluxbox---------------0.1.10-1
pmw----------------0.8.5-2

Succesfully updated:
Quote:

openssl--------0.9.6g-1
lifelines--------3.0.17-1
tidy-------------20020822-1
gtk-engines----0.12-2
gnome-libs------1.4.1.7-4
libungif---------4.1.0final-2

Update failed:
Quote:

bitchx----------------1.0c19-4
oleo------------------1.99.16-2
giflib-shlibs------------4.1.0-6
libgtop--------------1.0.13-8

Cheers...

Craig R. Arko 08-29-2002 09:33 AM

I just did a fresh install of xfree86-base and xfree86-rootless (version 4.2.0-12) from CVS and xterm seems to be working just fine now.

sao 08-29-2002 09:50 AM

Craig,

Yes, I also did a 'fink rebuild xfree86-base' version 4.2.0-12 and it solved the problem with xterm.


Cheers..

sao 08-29-2002 04:13 PM

For all of you who can't wait for the new Fink release which will be coming soon, you can use CVS to get the packages descriptions that have been fixed for 10.2.

Use cvs to download the .info and corresponding .patch file that you need and cp them to:

/sw/fink/dists/unstable/main/finkinfo/whicheversectiontheybelong

In some cases you will also need to copy the .info files for some dependencies of the package you need.

Then run:

'fink update packagename'

You can have a look at what is available here:

http://cvs.sourceforge.net/cgi-bin/v...main/finkinfo/

By the way, KDE files for 10.2 are already available.


Cheers...

PS: Remember to configure Fink to use unstable in /sw/etc/fink.conf by adding unstable/main to the Trees line.

Titanium Man 08-30-2002 02:28 AM

Yep, yep, and yep. aterm works fine so far too, apparently. Just installed the latest (August) Dev Tools, and am anxiously awaiting more developments from those crazy, wonderful people at the fink project,

sao 08-31-2002 08:34 AM

When some installed app that was working before crashes in 10.2, the best to do is:

'fink selfupdate-cvs'

'fink update-all'

'fink rebuild packagename'

In this way I got several packages back, including vim (Yeah!) bitchx and gv.


Cheers...

sao 08-31-2002 01:54 PM

The procedure for getting packages from CVS that have been fixed for 10.2 is as follows:

Developer Tools Installed.

Enable the unstable tree if you haven't already.(by adding unstable/main unstable/crypto to the Trees line in /sw/etc/fink.conf)

1- create a directory called "finkcvs"

2- cd to that directory

3- cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/fink login

4- cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/fink co dists

5- cd dists/10.2/unstable/main/finkinfo/'section name'

6- cp packagenameversion* /sw/fink/dists/unstable/main/finkinfo/'section name'

7- If the package has dependencies you'll also need to copy those .info and .patch files as well.

8- fink update 'packagename'

I got several packages to build this way without any problem. (one of them was screen)


Cheers...

sao 09-01-2002 06:07 AM

I just upgraded to mozilla-----1.1.0-1 and works very well.

Cheers...

rusto 09-01-2002 05:49 PM

Just tried your instructions two posts up, there Sao...when I enter:

Code:

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/fink login
it asks for a password, as anonymous I assume I just hit return but come right back to the prompt..what am I doing wrong?

sao 09-01-2002 11:08 PM

rusto,

You probably already have cvs. Enter directly point 4.


Cheers...

rusto 09-01-2002 11:37 PM

at step 4 I get:

Code:

cvs [checkout aborted]: cannot make directory dists: No such file or directory

sao 09-02-2002 01:30 AM

rusto,

create a directory 'finkcvs'

cd to that directory

Enter in terminal: 'cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/fink co dists'


Cheers...

rusto 09-02-2002 06:33 AM

Hehe, how about

Code:

sudo cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/fink co dists
:)

sao 09-02-2002 07:19 AM

rusto,

Yes, it depends. I made the directory 'finkcvs' on my desktop. It doesn't ask me for 'sudo' to use the command.

Glad it worked. :)


Cheers...

rusto 09-02-2002 08:22 AM

Thanks, Sao. Just a reminder to other folks following 'recipies' they might find here: read all the instructions all the way through BEFORE attempting them. Being sure you understand them would be a good thing too.

:)

Had I done so, I would have realized that the finkcvs directory Sao instructed to create was only needed temporarily and did not need to be put (as I did) in the /sw directory which is why I needed to use sudo.

sao 09-02-2002 09:09 AM

rusto,

Thanks for making it clear. :)

I just updated to vim-6.1-4. It's working very well.


Cheers...

rusto 09-02-2002 09:32 AM

Having trouble getting mozilla installed (your instructions grabbed v1.1.0-2 for me). I didn't see any dependencies needed for it, did I miss something? As you know the output of Fink is rather lengthy so I'm hesitant to post it here, so I've provided a link here, the pertinent stuff is at the end I'll bet.

I'm just thinking now...could the trouble be with Fink Commander?

sao 09-02-2002 10:01 AM

rusto,

You are not up to date.

'fink selfupdate-cvs'

'fink update-all'

'fink install mozilla'

Try again and let me know.

Here is my setup, check for the differences with yours:

fink --version
Package manager version: 0.10.0
Distribution version: 0.4.0.cvs

August update Dev Tools installed
xfree86-base-4.2.0.1-1
xfree86-rootless-4.2.0.1-1
(fink unstable/main unstable/crypto)


Cheers...

rusto 09-02-2002 10:05 AM

$ fink --version
Package manager version: 0.10.0
Distribution version: 0.4.0.cvs

August Dev Tools update installed

$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1161, based on gcc version 3.1 20020420 (prerelease)

sao 09-02-2002 10:37 AM

rusto,

Yes, keep running:

'fink selfupdate-cvs'

'fink update-all'

till 'fink install mozilla' works.

What about the xfree86-base/rootless version installed?


Cheers...

rusto 09-02-2002 07:23 PM

OK, I've moved everything from my finkcvs folder over...except for the individual CVS folders that came with the other stuff (your instructions in the thread did not say to move them over), I ran selfupdate-cvs and update-all again then fink install mozilla and still am getting errors.

when you say (in your pm to me) " then do: 'fink install packagename' one by one till you're up to date " are the packagnames ones that I should notice in the output of fink attempting to install mozilla?

EDIT: I do notice that now when I run fink selfupdate-cvs it says

Code:

su myUserName -c 'cvs -z3 update -d -P'
right at the start.

sao 09-03-2002 12:06 AM

rusto,

No, what I meant is that when you run:

'fink update-all' it will probably stop when the mozilla install fails.

So, if you run: 'sudo fink list' you will see which packages still need to be installed to complete the 'update-all' (except mozilla which failed).

You can do 'fink install packagename' of all those packages still not installed (i) to complete the update-all.

Then, do fink update-cvs again. And so on.


Cheers...

sao 09-05-2002 02:54 PM

Just installed nedit-5.3-5 and nano-1.0.9-1 with no problem.

Cheers...

mule 09-05-2002 05:27 PM

Quote:

Originally posted by sao

4-aspell ?
Does not yet compile on gcc3/jaguar due to C++ problems.

This is known by the aspell maintainers and it is not a c++ Problem. It is a problem with an unclean implementation in aspell. This has been fixed in the CVS.

-d

wgscott 09-05-2002 06:17 PM

Re: Fink installed app working in 10.2
 
Quote:

Originally posted by sao
the apps that work well for me in 10.2 at the moment are:


... pymol...

If you are interested, there is a native OS X version here that you can install in /Applications. It runs about 10 times faster.

http://prdownloads.sourceforge.net/p...mg.gz?download


It is big, and has its own python, in a subdirectory (ext) which you can delete and then symbolically link to since 10.2 has its own python installation.

sao 09-06-2002 02:46 AM

mule,

Thanks for the info. Yes, they already have in cvs a new upstream version that works in 10.2, aspell-0.50.1-1


Cheers...

sao 09-06-2002 02:55 AM

wgscott,

Thanks a lot for the info. Will give it a try.

For those who are interested also, here is a copy of the release notes:
Quote:

Project: PyMOL Molecular Graphics System: Release Notes

Release Name: 0.84


Notes:
This is an updated beta test version of the Mac OSX native
port which now functions under MacOS 10.2 as well as 10.1.

You'll need a three-button or "wheel" mouse to use it effectively.

The 40 MB download is fully self contained -- nothing else
is required.

NOTE: this port is not yet a complete version of PyMOL,
since it lacks the standard menu bar.

Download the disk image, open it, and then follow the
instructions in "INSTALL.rtf".

Cheers...

wgscott 09-06-2002 04:32 PM

Here is a screen shot and some of my notes:

http://chemistry.ucsc.edu/~wgscott/xtal/page6.html

sao 09-06-2002 06:34 PM

wgscott,

Thanks for the link and info. And here is the link to the Pymol homepage for those who are interested:

http://pymol.sourceforge.net/

Cheers...

fragerybou 09-07-2002 02:07 PM

I've tried the fink selfupdate-cvs, and fink updateall, but when it gets to gnome-libs-shlibs (required for gnome-libs-dev and gimp-shlibs), gnome-libs-shlibs fails to install. I've tried rebuilding the package, i've tried selfupdating over and over again, and nothing seems to work.

This is the error it spit out at me:

Quote:

Unpacking gnome-libs-shlibs (from .../gnome-libs-shlibs_1.4.1.7-4_darwin-powerpc.deb) ...
dpkg: error processing /sw/fink/dists/unstable/main/binary-darwin-powerpc/gnome/gnome-libs-shlibs_1.4.1.7-4_darwin-powerpc.deb (--install):
trying to overwrite `/sw/lib/libart_lgpl.2.2.0.dylib', which is also in package gnome-libs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking gnome-libs-shlibs (from .../gnome-libs-shlibs_1.4.1.7-4_darwin-powerpc.deb) ...
dpkg: error processing /sw/fink/dists/unstable/main/binary-darwin-powerpc/gnome/gnome-libs-shlibs_1.4.1.7-4_darwin-powerpc.deb (--install):
trying to overwrite `/sw/lib/libart_lgpl.2.2.0.dylib', which is also in package gnome-libs
dpkg-deb: subprocess paste killed by signal (Broken pipe)

I also tried taking out the libart files from /sw/lib/ to see if that would help, and it didn't. Any ideas? Anyone with similar problems?

mervTormel 09-07-2002 02:28 PM

this has me vexed to no end. to install findutils package, which contains "find, locate, and xargs", fink reports all these X dependencies which seems wrong...
Code:

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.2.1
BuildVersion:  6D46

$ fink --version
Package manager version: 0.10.0
Distribution version: 0.4.0.cvs

$ cc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1161, based on gcc version 3.1 20020420
 (prerelease)

$ fink install findutils
sudo /sw/bin/fink  install findutils
Password:
Information about 1431 packages read in 2 seconds.


fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)  python: Interpreted, object-oriented language.
(2)  python-nox: Interpreted, object-oriented language.

Pick one: [1] 2

fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)  system-xfree86: Placeholder package for manually installed XFree86
(2)  system-xtools: Placeholder package for manually installed Xtools
(3)  xfree86-base: XFree86 libraries, utilities, clients and data.
(4)  xfree86-base-threaded: XFree86 libraries, utilities, clients and data.

Pick one: [1] 2
The following package will be installed or updated:
 findutils
The following 28 additional packages will be installed:
 anacron daemonic db3 db3-shlibs dlcompat docbook-dsssl-nwalsh docbook-dtd
 expat expat-shlibs gdbm gdbm-shlibs gmp gmp-shlibs gtk-doc libpoll
 libpoll-shlibs libxml2 libxml2-bin libxml2-shlibs openjade python-nox
 readline readline-shlibs sgml-entities-iso8879 system-xtools tcltk-dev
 tcltk-shlibs zlib
Do you want to continue? [Y/n] n
Failed: Dependencies not satisfied


sao 09-07-2002 04:35 PM

fragerybou,

The problem here seems to be that some files have wandered from gnome-libs in the previous package version to gnome-libs-shlib in the current one, a problem sometimes occurring due to the split-off of the -shlibs packages.

In this case fink is not able to update without manual help.

Please run:

sudo dpkg -r --force-depends gnome-libs-dev gnome-libs gnome-libs-shlibs

to purge the old packages, and then run:

"fink update gnome-libs-dev".

Let me know.


Cheers...

sao 09-07-2002 05:06 PM

MervTormel,

Please show me the result of:

fink list --section=x11-system

If you have installed the xfree86-base package, then choose no.(3) as a dependency.

Or, do you have Tenon's Xtools installed?


Cheers...

PS: Have you configured Fink to use unstable?

mervTormel 09-07-2002 06:20 PM

this is a new fink install. unstable was configured, but i disabled it. tested finkCommander 0.3.3a with this, too, which may have wonkied things. i do not wish to install any X tools at this time.
Code:

$ fink list --section=x11-system
Information about 1431 packages read in 1 seconds.

    rman            3.0.9-2      Generalized filter for UNIX manual pages
    system-libgl    1.2-3        Placeholder package for manually installe...
    system-xfree86  4.2-1        Placeholder package for manually installe...
    system-xtools    1.0-7        Placeholder package for manually installe...
    tightvnc        1.2.3-1      An enhanced version of VNC.
    vnc              3.3.3r2-5    a remote display system for X11.
    xfree86-base    4.2.0.1-1    XFree86 libraries, utilities, clients and...
    xfree86-base-th  4.2.0.1-1    XFree86 libraries, utilities, clients and...
    xfree86-rootles  4.2.0.1-1    XFree86 libraries, utilities, clients and...
    xfree86-rootles  4.2.0.1-1    XFree86 libraries, utilities, clients and...

$ fink list >| finklist

$ grep "^ i|^\(i" finklist
 i      apt    0.5.4-4 Advanced front-end for dpkg
 i      apt-shlibs      0.5.4-4 Advanced front-end for dpkg
 i      base-files      1.6-1  Directory infrastructure
 i      bzip2  1.0.2-1 Block-sorting file compressor
 i      darwin  6.1-1  [virtual package representing the kernel]
 i      debianutils    1.16-1  Misc. utilities specific to Debian (and Fink)
 i      dict    1.7.1-1 DICT protocol dictionary-lookup client
 i      dpkg    1.9.20-3        The Debian package manager
 i      fileutils      4.1-3  Common shell commands like ls, touch, chmod
 i      fink    0.10.0-1        The Fink package manager
 i      fix-fink        1.0-1  Utility to fix ... a fink installation
 i      fortune-mod    9708-2  Database of witticisms
 i      gettext 0.10.40-3      Message localization support
 i      grep    2.4.2-3 Search text files for patterns
 i      gzip    1.2.4a-6        The gzip file compressor
 i      less    376-1  Featureful text pager
 i      libiconv        1.7-5  Character set conversion library
 i      macosx  10.2.1-1        [virtual package representing the system]
 i      nano    1.0.9-1 Improved clone of the Pico text editor.
 i      ncurses 5.2-7  Full-screen ascii drawing library
 i      num-utils      0.1-1  Command-line programs for dealing with numbers
 i      storable-pm    1.0.14-1        Perl module for persistent data structures
 i      tar    1.13.25-1      GNU tar - tape archiver

and
Code:

$ sudo sh -c "apt-get check 2>&1 | fold"
Reading Package Lists...
Building Dependency Tree...
W: Couldn't stat source package list file: local/main Packages (/sw/var/lib/apt/
lists/_sw_fink_dists_local_main_binary-darwin-powerpc_Packages) - stat (2 No suc
h file or directory)
W: Couldn't stat source package list file: stable/main Packages (/sw/var/lib/apt
/lists/_sw_fink_dists_stable_main_binary-darwin-powerpc_Packages) - stat (2 No s
uch file or directory)
W: Couldn't stat source package list file: stable/crypto Packages (/sw/var/lib/a
pt/lists/_sw_fink_dists_stable_crypto_binary-darwin-powerpc_Packages) - stat (2
No such file or directory)
W: You may want to run apt-get update to correct these problem

apt-get update gets these errors too.

sao 09-07-2002 07:17 PM

MervTormel,

For the apt-get problem try running:

'sudo apt-get install apt'

This will download the latest version of apt and update you local install to use it.

Let me know if it works.


Cheers...

sao 09-07-2002 08:15 PM

MervTormel,

I checked and the findutils package depends directly or indirectly on many other packages. Why is all this necessary, I have no idea.

I also find this exaggerated but that's how it is. Maybe you email the package maintainer and ask him the reasons.

Dave Vasilevsky <vasi@users.sourceforge.net>

If you do, please let me know his answer, I will also like to know.


Cheers...

fragerybou 09-07-2002 08:18 PM

Thanks for the help sao, that did the trick, although dpgk asked for a command not in the root path, but that was an easy fix. (update-rc.d was in /sw/sbin instead of the root's path, a simple cp to /usr/sbin worked fine).

sao 09-07-2002 08:26 PM

fragerybou,

Glad it worked.

Cheers...

mervTormel 09-07-2002 09:33 PM

Quote:

Originally posted by sao
For the apt-get problem try running:

'sudo apt-get install apt'
same noise as above, with "Sorry, apt is already the newest version." mixed in there.

sao 09-08-2002 12:58 PM

MervTormel,

If your apt tool is up to the newest version, then the problem seem to be in mixing source with binaries.

I have found through past experience that mixing the 2 is just not reliable ( for me ,anyway).


Cheers...

PS: Since I had problems mixing, I use source all the time, no binaries.

fragerybou 09-08-2002 11:18 PM

Hey sao, I seem to be running into the same problems Rusto was running into with mozilla. I've selfupdated and update-all'd many many times, reinstalled basically everything, and done everything you said to do. Neither Mozilla-1.1.0-1 or 1.1.0-2 work for me. They both give me the same errors which rusto reported. Using the stable 1.0 build of mozilla gave me a different compiler error involving darwin.c and the struct siginfo_t. I've basically given up on mozilla for now, since the uncompressed source for me is 324mb, about 6 times bigger than gimp. Frankly, that just seems a bit bloated for a web browser. But anyway, if you have any ideas, i'd love to hear them.

Thanks,

Geoff

sao 09-09-2002 12:24 AM

fragerybou,

Yes, mozilla is a big monster. If you kept a copy of the installation log-errors, copy the last 15 lines and together with your system information post your problem to the fink-users list.

Cheers...

rusto 09-09-2002 07:39 PM

fragerybou, I've started a thread here so that we can keep this thread on topic.

::nudges Sao to also follow::

:)

sao 09-11-2002 01:57 PM

Just for information:

There is no binary distribution for Jaguar yet. Thus, you cannot do something like 'apt-get install packagename' and have things work.


Follow the instructions on installing Fink from scratch on Jaguar here:

http://fink.sourceforge.net/news/jag-bootstrap.php


Or the instructions to Upgrade Fink for MacOS X 10.2 from here:

http://fink.sourceforge.net/news/jaguar.php


Cheers...


All times are GMT -5. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.