I've read Fun with Fink.  Have since uninstalled and reinstalled 
xfree86 twice. I only succeeded when installing (just like I succeeded 
last time) by installing the complete installer from GNU MAC.

Now, however, after numerous attempts, I am unable to add Any 
packages.  Commander sites a problem with deb.pkg, and below is what I 
get from Termenal and Xterm.  And yes, I Do have apples xll installed, 
by way of the custom feature, as written in Fun With Fink.  And it made 
no difference that I made myself root via netinfo. apt-get -f install 
was the result of a previous attempt to instal a package. Is if 
possible for a machine to reject software? :-/ 

Terminal:
[blueDog:~] greghyde% apt-get -f install
E: Could not open lock file /sw/var/lib/dpkg/lock - open (13 Permission 
denied)
E: Unable to lock the administration directory (/sw/var/lib/dpkg/), are 
you root?
[blueDog:~] greghyde% sudo apt-get -f install
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  system-xfree86 
The following NEW packages will be installed:
  system-xfree86 
0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
15 packages not fully installed or removed.
Need to get 0B/3044B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] 
(Reading database ... 4080 files and directories currently installed.)
Unpacking system-xfree86 (from 
.../system-xfree86_4.2-11_darwin-powerpc.deb) ...

- found apple library
- found /usr/X11R6/bin/xterm
- found /usr/X11R6/bin/xrdb
- found /usr/X11R6/bin/rman
- found /usr/X11R6/lib/libX11.dylib
- found /usr/X11R6/lib/libXpm.dylib
- found /usr/X11R6/lib/libXaw.dylib
- found /usr/X11R6/include/X11/Xlib.h
- Apple X11 userland is missing

** ERROR! **
It appears you have a partially-installed version of the Apple X11
release.  To use Apple's X11 with Fink, you must download both the
main X11 installer, as well as the SDK (there are actually 2 separate
downloads for the Apple X11 release).  Please go to
http://www.apple.com/macosx/x11/ and download and install the missing
files, and re-attempt your install of system-xfree86.

dpkg: error processing 
/sw/var/cache/apt/archives/system-xfree86_4.2-11_darwin-powerpc.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /sw/var/cache/apt/archives/system-xfree86_4.2-11_darwin-powerpc.deb
E: Sub-process /sw/bin/dpkg returned an error code (1)

Xterm:
(cd .libs && rm -f libpopt.la && ln -s ../libpopt.la libpopt.la)
source='test1.c' object='test1.o' libtool=no \
depfile='.deps/test1.Po' tmpdepfile='.deps/test1.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I.  -I/sw/include  -Wall -g -O2 -c 
`test -f 'test1.c' || echo './'`test1.c
/bin/sh ./libtool --mode=link gcc  -Wall -g -O2  -lintl -L/sw/lib -o 
test1 -all-static test1.o libpopt.la 
libtool: link: warning: complete static linking is impossible in this 
configuration
gcc -Wall -g -O2 -o test1 test1.o  -L/sw/lib ./.libs/libpopt.a 
/sw/lib/libintl.a -liconv
ld: table of contents for archive: /sw/lib/libintl.a is out of date; 
rerun ranlib(1) (can't load from it)
make[2]: *** [test1] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling popt-1.7-1 failed


On Wed, 18 Jun 2003 22:48:06 -0500, Scot Johnson wrote:
> Greg wrote:
> | Okay, I've slowd down. I've studied.  I've read. And, most importantly,
> | I've decompressed.  I think I'm ready to seek guidance once again, at a
> | time when my knowledge is not so impaired:
> |
> | Based on the helpful links that were referred to me, I've tried
> | installing xDarwin via the gnumac and xonx installers and via fink and
> | followed instructions to by adding strings of text to certain files.
> | I've tried launching in by double-clicking on the X, and from the
> | command line, and in one shape or an other, the response has been the
> | same. It seems that no matter what, X is not being mapped correctly and
> | is not access necessary dependancies.  Last night, I couldn't even
> | remove it via fink.
> |
> | Below is the litany of output that I've compiled from console, the
> | terminal, and text edit. somewhere in there, I sense, is a pattern that
> | will pull it all together:
> |all of the output snipped<
> 
> I'm coming in on the middle of this and someone may have already given
> you this advice but I would highly recommend you read Phil Lavigna's
> "Fun With Fink" Document. The copy I have is dated February. It's
> excellent. You should be able to find it with Google.
> 
> Given all your trouble, you may want to remove Fink and X and start
> over. Open your Terminal.app and use:
> 
> sudo rm -rf /sw
> Return
> 
> sudo rm -rf /usr/X11R6 /etc/X11
> Return
> 
> sudo rm -rf /Applications/XDarwin.app
> Return
> 
> then:
> rm .xinitrc .cshrc
> Return
> 
> The rm = remove and the -r and -f means recursive and forced.
> 
> Once you have this accomplished you can start a brand new Fink
> installation from scratch. So you know, the first command gets rid of
> fink, the 2nd and third commands get rid of your X server, and the final
> command gets rid of your configuration files for X and TCSH respectively.
> 
> If you then start your new installation following "Fun With Fink" you
> should have no problems. It's excellent and quite detailed on getting
> started.
> 
> Hope you find this helpful. I'm pretty new to this myself. I have
> followed the directions above and it's worked for me.
> 
> Oh one last thing. Note the space between X11R6 and /etc. Need to ensure
> that there's a space there otherwise you won't remove anything...you're
> actually removing 2 different directories recursively.
> - --


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to