You are not logged in.

#1 2009-05-24 19:55:58

poopship21
Member
Registered: 2009-05-13
Posts: 177

pkgbuild error: slim login manager [SOLVED]

what i am running:
[au@arroyo1 slim]$ echo $(uname -m)
x86_64
[au@arroyo1 slim]$ yaourt -Ss gcc 4*
core/gcc 4.4.0-1 [installed] (base-devel)
     The GNU Compiler Collection
core/gcc-libs 4.4.0-1 [installed] (base)
     Runtime libraries shipped by GCC for C and C++ languages
[au@arroyo1 slim]$ yaourt -Ss kernel26
core/kernel26 2.6.29.4-1 [installed] (base)
     The Linux Kernel and modules
core/kernel26-firmware 2.6.29-1 [installed] (base)
     The included firmware files of the Linux Kernel

problem:
i was following the howto in the ABS wiki and recieved the following error when attempting to build the slim login manager using an unmodified PKGBUILD:

2009-05-24 10:59:13 (226 KB/s) - `slim-1.3.1.tar.gz.part' saved [219446/219446]

  -> Found slim in build dir
  -> Found slim.logrotate in build dir
  -> Found slim.pam in build dir
  -> Found slim-restart.patch in build dir
==> Validating source files with md5sums...
    slim-1.3.1.tar.gz ... Passed
    slim ... Passed
    slim.logrotate ... Passed
    slim.pam ... Passed
    slim-restart.patch ... Passed
==> Extracting Sources...
  -> bsdtar -x -f slim-1.3.1.tar.gz
==> Entering fakeroot environment...
==> Starting build()...
patching file app.cpp
patching file app.h
/usr/bin/gcc -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c jpeg.c -o jpeg.o
/usr/bin/gcc -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c png.c -o png.o
/usr/bin/g++ -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c main.cpp -o main.o
/usr/bin/g++ -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c image.cpp -o image.o
/usr/bin/g++ -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c numlock.cpp -o numlock.o
/usr/bin/g++ -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c cfg.cpp -o cfg.o
/usr/bin/g++ -Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include -DPACKAGE=\"slim\" -DVERSION=\"1.3.1\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DHAVE_SHADOW -DUSE_PAM -c switchuser.cpp -o switchuser.o
switchuser.cpp: In member function 'void SwitchUser::SetClientAuth(const char*)':
switchuser.cpp:59: error: 'remove' was not declared in this scope
make: *** [switchuser.o] Error 1
==> ERROR: Build Failed.
    Aborting...

thanks in advance!

Last edited by poopship21 (2009-08-02 17:28:35)

Offline

#2 2009-05-24 20:23:06

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: pkgbuild error: slim login manager [SOLVED]

SLiM needs a patch to compile on gcc 4.4, I've recently added that patch to slim-cursor in the AUR (http://aur.archlinux.org/packages.php?ID=21053)

the build you're doing seems to be lacking that patch?

*edit*

http://sources.gentoo.org/viewcvs.py/*c … ch?rev=1.1

the patch.

Last edited by stefanwilkens (2009-05-24 20:24:36)


Arch i686 on Phenom X4 | GTX760

Offline

#3 2009-05-24 21:07:23

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: pkgbuild error: slim login manager [SOLVED]

Is there a bugreport?

Offline

#4 2009-05-24 21:25:49

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: pkgbuild error: slim login manager [SOLVED]

Stefan Husmann wrote:

Is there a bugreport?

On SLiM's bugtracker:
http://developer.berlios.de/bugs/?func= … up_id=2663

Nothing mentionned on our own bugtracker though smile


Arch i686 on Phenom X4 | GTX760

Offline

#5 2009-05-24 21:27:17

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: pkgbuild error: slim login manager [SOLVED]

stefanwilkens wrote:
Stefan Husmann wrote:

Is there a bugreport?

On SLiM's bugtracker:
http://developer.berlios.de/bugs/?func= … up_id=2663

Nothing mentionned on our own bugtracker though smile

And it shouldn't be since it's nothing Arch specific wink

Last edited by moljac024 (2009-05-24 21:27:35)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#6 2009-05-24 21:33:09

poopship21
Member
Registered: 2009-05-13
Posts: 177

Re: pkgbuild error: slim login manager [SOLVED]

thanks.  everything went just fine with the ABS in that tar.  however, i am not sure how to get the PKGBUILDs from AUR with "$ sudo abs".  i assumed that the REPOS=() in /etc/abs.conf would be defined in pacman.conf so i added some that are supposed to contain AUR packages (archlinuxfr and archstuff) which i had previously obtained packages from.  apparently this approach failed because i was unable to find slim-cursor after $ sudo updatedb and $ locate slim-cursor.

Offline

#7 2009-05-24 21:41:50

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: pkgbuild error: slim login manager [SOLVED]

poopship21 wrote:

thanks.  everything went just fine with the ABS in that tar.  however, i am not sure how to get the PKGBUILDs from AUR with "$ sudo abs".  i assumed that the REPOS=() in /etc/abs.conf would be defined in pacman.conf so i added some that are supposed to contain AUR packages (archlinuxfr and archstuff) which i had previously obtained packages from.  apparently this approach failed because i was unable to find slim-cursor after $ sudo updatedb and $ locate slim-cursor.

Concerning abs.conf:
http://wiki.archlinux.org/index.php/ABS … 2Fabs.conf

now the ABS tree holds PKGBUILDS for the repository packages, I don't believe it also syncs community supported PKGBUILDS in the [unsupported] repository?

slim-cursor is a patched version of slim to allow for custom cursors.

Simple way without abs is to just grab this:
http://aur.archlinux.org/packages/slim- … sor.tar.gz

tar -zxvf slim-cursor.tar.gz
cd slim-cursor
makepkg

and then, as root:

pacman -U slim-cursor-1.3.1-4-(i686 or x86_64).pkg.tar.gz

to use makepkg, you will need to have the base-devel group installed.

*edit* aaaaand I just totally misunderstood that you already did all this, lol. Glad to hear it still builds properly on x86_64 though

I am curious what PKGBUILD you tried to install the first time though, that package obviously needs the patch too.

*editagain*

slim from [extra] it seems, bugreport made:
http://bugs.archlinux.org/task/14815

Last edited by stefanwilkens (2009-05-24 23:42:43)


Arch i686 on Phenom X4 | GTX760

Offline

#8 2009-08-02 17:28:23

poopship21
Member
Registered: 2009-05-13
Posts: 177

Re: pkgbuild error: slim login manager [SOLVED]

stefanwilkens wrote:

slim from [extra] it seems, bugreport made:
http://bugs.archlinux.org/task/14815

thanks, in any case

Offline

Board footer

Powered by FluxBB