You are not logged in.

#1 2006-02-25 04:06:51

fourcs
Member
From: Cairns, Australia
Registered: 2005-05-11
Posts: 37

xemacs-21.5.24-1

This upgrade can't find libXaw3d.so.8. Can anyone give an assist please?
Thanks

Offline

#2 2006-02-25 05:17:54

nam1000
Member
Registered: 2005-04-08
Posts: 20

Re: xemacs-21.5.24-1

Have you tried

pacman -S libxaw

(or maybe "pacman -S libxaw3d", I'm not on Arch right now).

That should fix the problem.

Offline

#3 2006-02-25 05:22:51

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: xemacs-21.5.24-1

pacman -Sy  xaw3d

Offline

#4 2006-02-25 08:29:02

fourcs
Member
From: Cairns, Australia
Registered: 2005-05-11
Posts: 37

Re: xemacs-21.5.24-1

I get nothing but a bunch of msgs dealing with xproto, libxau, libxdmcp, kbproto, inputproto, libx11,xextproto, printproto, libice, etc. I'm lost on this.

Offline

#5 2006-02-25 17:08:11

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: xemacs-21.5.24-1

Looks like you didn't upgraded to xorg7. That version of xemacs is built for xorg7. Upgrading to xorg7 will fix that ( also do a full upgrade: pacman -Syu). Read the wiki before upgrading.

Offline

#6 2006-02-26 17:05:54

fourcs
Member
From: Cairns, Australia
Registered: 2005-05-11
Posts: 37

Re: xemacs-21.5.24-1

sad Wish I could do full upgrade. I don't have broadband.

Offline

#7 2006-02-26 20:27:09

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: xemacs-21.5.24-1

If you can'tdon't want or do a full upgrade, I would suggest, IMHO,  to stop upgrading at all and downgrade xemacs. Xorg 7 is very different from xorg 6.8: the paths have been changed and is is now modular. All the packages has been modified to account for that so if you only upgrade a few packages here and there, you risk to break your system. 

If you know someone with broadband or have access to broadband somewhere, do a
pacman -Syup > foo
The foo file will contain URLs of the packages you need. On the broadband computer, do
wget -i foo
to download the packages that you will then put on CD or USB stick. On your arch system, copy the packages to /var/cache/pacman/pkg and upgrade with:
pacman -Su
If you try this, read the wiki before.

Pacman also have a -w switch that will only download the packages. With this you could donload for a couple of hours, stop it and continue the download later. Eventually, you'll have all the packages you need on your HD to do a pacman -Syu.

Offline

#8 2006-02-26 20:28:15

nam1000
Member
Registered: 2005-04-08
Posts: 20

Re: xemacs-21.5.24-1

Download and build xaw3d for the system you have right now, using makepkg.You can do it this way.

mkdir xaw3d
cd xaw3d

Then copy the code below and save it in a file named PKGBUILD in the directory just created:

# $Id: PKGBUILD,v 1.9 2005/12/21 13:30:20 jgc Exp $
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=xaw3d
pkgver=1.5
pkgrel=1
pkgdesc="Three-D Athena widgets"
makedepends=('imake')
source=(ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/Xaw3d-${pkgver}.tar.gz
        xaw3d.patch)
md5sums=('a77aa4ebe3be7964e4dbbc351e48277f' 'cd250186d36d64f579834f11a7f7f6a2')

build() {
  cd $startdir/src/xc/lib/Xaw3d
  patch -Np1 -i ${startdir}/src/xaw3d.patch || return 1
  mkdir X11
  cd X11
  ln -sf ../../Xaw3d .
  cd ..
  xmkmf || return 1
  make includes || return 1
  make depend || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

Now run (you have to be online, small download):

makepkg
sudo pacman -A xaw3d-1.5-1.pkg.tar.gz

[edited, fixed typo]

If makepkg complains amout missing imake, then correct this with a

pacman -S imake

(small download)

Offline

#9 2006-02-26 20:36:40

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: xemacs-21.5.24-1

Following nam1000's suggestion will probably fix your xemacs problem (don't need to downgrade it). you can just remove the makedepends line. imake is already on your system (included in xorg 6.8 ).

Offline

#10 2006-02-27 00:23:24

fourcs
Member
From: Cairns, Australia
Registered: 2005-05-11
Posts: 37

Re: xemacs-21.5.24-1

I put the xaw3d dir in /var/aba/local. Then put the PKGBUILD in xaw3d. Exercised makepkg on it and got the 637 error. I hate to think my system's broke, but I'm getting that impression. sad

Offline

#11 2006-02-27 02:18:48

nam1000
Member
Registered: 2005-04-08
Posts: 20

Re: xemacs-21.5.24-1

I'm not sure what kind of error you have. Is it before, during, after compile?

Can you cut and paste error message?

Your system probably isn't broken. It doesn't break that easily after all.

Offline

#12 2006-02-27 02:36:30

fourcs
Member
From: Cairns, Australia
Registered: 2005-05-11
Posts: 37

Re: xemacs-21.5.24-1

big_smile Thanks for the encouragement. I'm using a bash shell. Is there a way to pipe the output to a file that I could use to cut and paste from?

Offline

#13 2006-02-27 02:50:46

fourcs
Member
From: Cairns, Australia
Registered: 2005-05-11
Posts: 37

Re: xemacs-21.5.24-1

This is a copy of error msg I'm getting.

makepkg
command not found:
/PKGBUILD: line 13: syntax error near unexpected token `{
  '/PKGBUILD:line13:`build(){
  =>Checking Runtime Dependencies...
  =>Checking Buildtime Dependencies...
  =>Retrieving Sources...
  =>Validating source files with MD5sums
  =>Extracting Sources...
  =>Removing existing pkg/ directory...
  =>Starting build()...
  /usr/bin/makepkg: line 637: build: command not fouond
  =>ERROR: Build Failed. Aborting...     

Thanks

Offline

#14 2006-02-27 03:52:26

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: xemacs-21.5.24-1

Make sure the source line is not wrapped  up. That's probably the cause of the error.

To post error message like this one, select the text with the mouse (to copy) and click the middle button to paste.

Offline

#15 2006-02-27 04:34:04

fourcs
Member
From: Cairns, Australia
Registered: 2005-05-11
Posts: 37

Re: xemacs-21.5.24-1

The make command was issued from the bash command line. The errors were presented in the bash shell. I can't copy and paste from that shell.

Offline

#16 2006-02-27 16:18:52

nam1000
Member
Registered: 2005-04-08
Posts: 20

Re: xemacs-21.5.24-1

What snowman is telling you is that there is a problem in the PKGBUILD file. I suspect there's a closing '}' missing at the very bottom of the the file. Add it and see what happens.

It IS possible to cut and paste from an xterm.

1- select the text normally by click and dragging with the right mouse button

2 - move the pointer to where you want to paste the text

3- click middle mouse button (or the two mouse buttons at once if you don't have 3 buttons)

[edited for typos]

Offline

#17 2006-02-27 16:38:55

fourcs
Member
From: Cairns, Australia
Registered: 2005-05-11
Posts: 37

Re: xemacs-21.5.24-1

There is a final brace in the PKGBUILD file. :cry:  And I can't get to copy and paste as you say,no matter what I do.
Thanks

Offline

#18 2006-02-27 16:49:20

nam1000
Member
Registered: 2005-04-08
Posts: 20

Re: xemacs-21.5.24-1

OK I don't know what's going on.

Now let's make sure your PKGBUILD is alright. Try doing this:

Visit this page

http://cvs.archlinux.org/cgi-bin/viewcv … cvs-markup

Click on Download. Save the newly open page to /var/abs/local/xaw3d to replace existing PKGBUILD. MAKE SURE to remove the line which starts with "depends". Then try makepkg again.

Concerning copy-paste in terminal, I think you can do it the usual way (ctr-c, etc) in the terminals that come together with desktop environments, e.g. gnome-terminal or konsole.

Offline

Board footer

Powered by FluxBB