You are not logged in.

#1 2006-03-09 21:38:05

adamk
Member
Registered: 2006-03-09
Posts: 36

Loading perl-tk causes conflict on libx11

Hello;

I tried installing perl-tk on my relatively fresh system (Arch install from the CD 0.7.1)
[ I installed almost everything from the CD...]

Pacman lists several targets that it needed to installed first.
Well it went and obtained all the targets and begins the installation.

It eventually failed, saying that all the X11 libraries are already installed.

What can I do? I already have the X11 stuff and just need the perl-TK stuff.

   Thanks.


Adam Krolnik
Co-author "Assertion-Based Design"

Offline

#2 2006-03-09 23:01:28

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Loading perl-tk causes conflict on libx11

Can you post the packages to be installed, and the exact error messages?

Offline

#3 2006-03-10 01:28:30

Ethilien
Member
From: Parker, CO
Registered: 2005-09-21
Posts: 36
Website

Re: Loading perl-tk causes conflict on libx11

Have you updated your system after the install?

Run pacman -Syu


-Connor McKay

"He is no fool who gives what he cannot keep to gain what he cannot lose" - Jim Elliot

Offline

#4 2006-03-10 03:53:12

adamk
Member
Registered: 2006-03-09
Posts: 36

Re: Loading perl-tk causes conflict on libx11

I did an update of the pacman databases after installation. I've installed several other packages,
all that went well.

Here's the log of the operation:

[root@adamscomputer adam]# pacman -S perl-tk

Targets: xproto-7.0.4-2 libxau-1.0.0-1 libxdmcp-1.0.0-1 kbproto-1.0.2-1
         inputproto-1.3.2-1 libx11-1.0.0-1 perl-tk-804.027-2

Total Package Size:   4.4 MB

Proceed with upgrade? [Y/n] y

checking package integrity... done.
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
  xproto: /etc/profile.d/xorg.sh: exists in filesystem
  xproto: /usr/include/X11/DECkeysym.h: exists in filesystem
  xproto: /usr/include/X11/HPkeysym.h: exists in filesystem
  xproto: /usr/include/X11/Sunkeysym.h: exists in filesystem
  xproto: /usr/include/X11/X.h: exists in filesystem
  xproto: /usr/include/X11/XF86keysym.h: exists in filesystem
  xproto: /usr/include/X11/XWDFile.h: exists in filesystem
  xproto: /usr/include/X11/Xalloca.h: exists in filesystem
  xproto: /usr/include/X11/Xarch.h: exists in filesystem
  xproto: /usr/include/X11/Xatom.h: exists in filesystem
  xproto: /usr/include/X11/Xdefs.h: exists in filesystem
  xproto: /usr/include/X11/Xfuncproto.h: exists in filesystem
  xproto: /usr/include/X11/Xfuncs.h: exists in filesystem
  xproto: /usr/include/X11/Xmd.h: exists in filesystem
  xproto: /usr/include/X11/Xos.h: exists in filesystem
  xproto: /usr/include/X11/Xos_r.h: exists in filesystem
  xproto: /usr/include/X11/Xosdefs.h: exists in filesystem
  ....

errors occurred, no packages were upgraded.


Adam Krolnik
Co-author "Assertion-Based Design"

Offline

#5 2006-03-10 07:55:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Loading perl-tk causes conflict on libx11

This is due to reorganisation of various X files, mostly headers, as you can see, so that they now belong to different packages that the ones on 0.7.1. In this case, it is perfectly safe to force the install i.e.

pacman -Sf perl-tk

Offline

#6 2006-03-10 13:49:26

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Loading perl-tk causes conflict on libx11

Upgrade to Xorg7 first. Best thing you can do is this:

pacman -Rd xorg
pacman -S xorg

Using this method, you won't trigger the pacman bug that causes files to disappear.

Offline

#7 2006-03-10 15:25:50

adamk
Member
Registered: 2006-03-09
Posts: 36

Re: Loading perl-tk causes conflict on libx11

> Won't trigger the Pacman bug that causes files to disappear!

Oh, well, what bug is this?  I ran the force to install perl-tk.
It did work and my perl-TK app worked.  What may I be missing now?

How does xorg7 compare with the 0.7.1 X system ?

   Thanks.


Adam Krolnik
Co-author "Assertion-Based Design"

Offline

#8 2006-03-10 19:18:38

Ethilien
Member
From: Parker, CO
Registered: 2005-09-21
Posts: 36
Website

Re: Loading perl-tk causes conflict on libx11

They're actually the same thing wink


-Connor McKay

"He is no fool who gives what he cannot keep to gain what he cannot lose" - Jim Elliot

Offline

Board footer

Powered by FluxBB