Unix is tough when you're dyslexic (which is why I love GUI's and 
aliases. 
Below is what happened when I entered fink install system-xfree86 in 
xterm.  BTW, the first-mentioned errors (the xfree86-base needed to be 
installed) happened whenever I tried to install a package, like 
bundle-gnome, sawfish or ethereal:
---
(Reading database ... 7099 files and directories currently installed.)
Unpacking system-xfree86 (from 
.../system-xfree86_4.2-11_darwin-powerpc.deb) ...

- 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
Valid XFree86 installation detected.

Setting up system-xfree86 (4.2-11) ...
[blueDog:~] greghyde% 
[blueDog:~] greghyde% fink install system-xfree86
sudo /sw/bin/fink  install system-xfree86
Information about 1277 packages read in 1 seconds.

No packages to install.
---
On Mon, 23 Jun 2003 14:23:08 -0400, Alexander Hansen wrote:
> The problem is different now:  before you were trying to install
> system-xfree86, which is appropriate when you have an externally
> installed XFree86 installation.  
> 
> Now you are trying to install the Fink xfree86-base and xfree86-shlibs
> packages, which is well and good, but require you to manually remove
> /usr/X11R6 and /etc/X11; Fink isn't supposed to remove files that it
> didn't install, and it didn't install your prior XFree86 package.
> 
> By the way, if you do want to do this, make sure to install
> xfree86-rootless and xfree86-rootless-shlibs, too.
> 
> On Mon, 2003-06-23 at 14:14, Greg wrote:
>>  I've removed the aforementioned files (as far as I can tell).  Now, I'm 
>>  getting the following after a few hours scrolling.  
>>  Thus the infinite, To be with Apple x11, or Not To Be with Apple x11. 
>>  -That- is the question:
>>  ---
>>  You have an existing X11 installation in /usr/X11R6 and /etc/X11.
>>  This package refuses to overwrite these. Remove them, then tell Fink to
>>  install xfree86-base again. (The package won't be recompiled.) If you 
>>  want
>>  to keep your X11 installation, install system-xfree86 resp. 
>>  system-xtools
>>  instead to make this known to Fink's package system.
>>  
>>  Press Return to continue.
>>  
>>  dpkg: error processing 
>>  
/sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86-base_4.2.1.1-3_darwin-powerpc.deb
 
>>  (--install):
>>   subprocess pre-installation script returned error exit status 1
>>  Selecting previously deselected package xfree86-base-shlibs.
>>  Unpacking xfree86-base-shlibs (from 
>>  .../xfree86-base-shlibs_4.2.1.1-3_darwin-powerpc.deb) ...
>>  Setting up xfree86-base-shlibs (4.2.1.1-3) ...
>>  Errors were encountered while processing:
>>   
>> 
/sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86-base_4.2.1.1-3_darwin-powerpc.deb
>>  ### execution of dpkg failed, exit code 1
>>  Failed: can't batch-install packages: 
>>  
/sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86-base_4.2.1.1-3_darwin-powerpc.deb
 
>>  
/sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86-base-shlibs_4.2.1.1-3_darwin-powerpc.deb
>>  ---
>>  On Mon, 23 Jun 2003 12:20:27 -0400, Alexander Hansen wrote:
>>>  On Mon, 2003-06-23 at 11:58, Greg wrote:
>>>>   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.
>>>>   
>>>  Fair enough.
>>>  
>>>>   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
>>>  
>>>  The problem here is that you still have a library from Apple X11 in
>>>  addition to your XFree86 installation, and that's confusing
>>>  system-xfree86.  Look for /usr/lib/libXplugin.1.dylib and delete
>>>  it--this library is only used by Apple X11.
>>>  
>>>  <snip>
>>>  
>>>>   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)
>>>  
>>>  Run
>>>  
>>>  sudo ranlib /sw/lib/libintl.a
>>>  
>>>  (as the message implies, but doesn't say straight out).


-------------------------------------------------------
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