LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 06-12-2011, 11:38 AM   #1
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Rep: Reputation: 4
How do I get pacman-color to work?


I used ABS to install it with "makepkg" and nothing happens. I get the regular color schemes under regular user, which is whenever I hit "ls" it will show all directories as blue, but as root it's a normal color. Pacman-color is supposed to make pacman commands more colorful, right? Did I install it the wrong way? For the record, I used tar -xvf and it worked fine and I also used makepkg (In which this is the first time I've used it) and it seemed to compile it fine as well, but after I did it, nothing really changed. Is there another step? Is there a package that will make it look like Sabayon's colorful terminal, or Gentoos? Is pacman-color the only package out there for changing the color of the terminal fonts?
 
Old 06-12-2011, 12:37 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
After creating the package with ( as a user )
Code:
makepkg -s
You need to install the package ( as root )
with
Code:
pacman -U /path/to/pkg-name
( in the directory where you build the package unless you changed the location in /etc/makepkg.conf )
 
Old 06-12-2011, 06:58 PM   #3
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by andrewthomas View Post
After creating the package with ( as a user )
Code:
makepkg -s
You need to install the package ( as root )
with
Code:
pacman -U /path/to/pkg-name
( in the directory where you build the package unless you changed the location in /etc/makepkg.conf )
Code:
[theif519@theif519 pacman-color]$ makepkg -s
==> Making package: pacman-color 3.5.3-1 (Sun Jun 12 19:50:25 EDT 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found pacman-3.5.3.tar.gz
  -> Found pacman-color-3.5.3.patch
  -> Found color.conf
==> Validating source files with md5sums...
    pacman-3.5.3.tar.gz ... Passed
    pacman-color-3.5.3.patch ... Passed
    color.conf ... Passed
==> Extracting Sources...
  -> Extracting pacman-3.5.3.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
patching file src/pacman/callback.c
patching file src/pacman/package.c
patching file src/pacman/pacman.c
patching file src/pacman/query.c
patching file src/pacman/remove.c
patching file src/pacman/sync.c
patching file src/pacman/upgrade.c
patching file src/pacman/util.c
patching file src/pacman/util.h
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for python2.7... python2.7
checking for bash... /bin/bash
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for archive_read_data in -larchive... yes
checking whether to link with libssl... yes
checking for MD5_Final in -lssl... yes
checking whether to link with libfetch... yes
checking for fetchParseURL in -lfetch... yes
checking whether fetchConnectionCacheInit is declared... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct dirent.d_type... yes
checking PATH_MAX defined... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for library containing getmntent... none required
checking whether lstat correctly handles trailing slash... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for geteuid... yes
checking for getmntinfo... no
checking for realpath... yes
checking for regcomp... yes
checking for strcasecmp... yes
checking for strndup... yes
checking for strrchr... yes
checking for strsep... yes
checking for swprintf... yes
checking for wcwidth... yes
checking for uname... yes
checking filesystem statistics type... checking for getmntinfo... (cached) no
checking for getmntent... (cached) yes
struct statvfs
checking for struct statvfs.f_flag... yes
checking for struct statfs.f_flags... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether gcc -std=gnu99 accepts -fvisibility=internal... yes
checking for -fgnu89-inline... yes
checking for du... /bin/du
checking for asciidoc... no
checking for building documentation... no, disabled by configure
checking for doxygen... no
checking for doxygen... no, disabled by configure
checking for debug mode request... no
checking whether to use git version if available... no, disabled by configure
configure: creating ./config.status
config.status: creating lib/libalpm/Makefile
config.status: creating lib/libalpm/po/Makefile.in
config.status: creating src/pacman/Makefile
config.status: creating src/util/Makefile
config.status: creating scripts/Makefile
config.status: creating doc/Makefile
config.status: creating etc/Makefile
config.status: creating po/Makefile.in
config.status: creating test/pacman/Makefile
config.status: creating test/pacman/tests/Makefile
config.status: creating test/util/Makefile
config.status: creating contrib/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating lib/libalpm/po/POTFILES
config.status: creating lib/libalpm/po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile

pacman:

  Build information:
    source code location   : .
    prefix                 : /usr
    sysconfdir             : /etc
       conf file           : /etc/pacman.conf
    localstatedir          : /var
       database dir        : /var/lib/pacman/
       cache dir           : /var/cache/pacman/pkg/
    compiler               : gcc -std=gnu99
    compiler flags         : -march=i686 -mtune=generic -O2 -pipe -Wall
    defines                : -DHAVE_CONFIG_H

    Architecture           : i686
    Architecture flags     : -march=i686 
    Host Type              : i686-pc-linux-gnu
    Filesize command       : stat -L -c %s
    In-place sed command   : sed -i

    libalpm version        : 6.0.3
    libalpm version info   : 6:3:0
    pacman version         : 3.5.3
    using git version      : no

  Directory and file information:
    root working directory : /
    package extension      : .pkg.tar.gz
    source pkg extension   : .src.tar.gz
    build script name      : PKGBUILD

  Compilation options:
    Run make in doc/ dir   : no 
    Doxygen support        : no
    debug support          : no

make  all-recursive
make[1]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3'
Making all in lib/libalpm
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/lib/libalpm'
Making all in po
make[3]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/lib/libalpm/po'
make[3]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/lib/libalpm/po'
make[3]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/lib/libalpm'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/lib/libalpm'
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/lib/libalpm'
Making all in src/util
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/src/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/src/util'
Making all in src/pacman
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/src/pacman'
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
mv -f .deps/conf.Tpo .deps/conf.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT database.o -MD -MP -MF .deps/database.Tpo -c -o database.o database.c
mv -f .deps/database.Tpo .deps/database.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT deptest.o -MD -MP -MF .deps/deptest.Tpo -c -o deptest.o deptest.c
mv -f .deps/deptest.Tpo .deps/deptest.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT package.o -MD -MP -MF .deps/package.Tpo -c -o package.o package.c
mv -f .deps/package.Tpo .deps/package.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT pacman.o -MD -MP -MF .deps/pacman.Tpo -c -o pacman.o pacman.c
mv -f .deps/pacman.Tpo .deps/pacman.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT query.o -MD -MP -MF .deps/query.Tpo -c -o query.o query.c
mv -f .deps/query.Tpo .deps/query.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT remove.o -MD -MP -MF .deps/remove.Tpo -c -o remove.o remove.c
mv -f .deps/remove.Tpo .deps/remove.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT sync.o -MD -MP -MF .deps/sync.Tpo -c -o sync.o sync.c
mv -f .deps/sync.Tpo .deps/sync.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT callback.o -MD -MP -MF .deps/callback.Tpo -c -o callback.o callback.c
mv -f .deps/callback.Tpo .deps/callback.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT upgrade.o -MD -MP -MF .deps/upgrade.Tpo -c -o upgrade.o upgrade.c
mv -f .deps/upgrade.Tpo .deps/upgrade.Po
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DCACHEDIR=\"/var/cache/pacman/pkg/\" -DLOGFILE=\"/var/log/pacman.log\" -DHAVE_CONFIG_H  -I. -I../.. -I../../lib/libalpm   -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
/bin/sh ../../libtool --tag=CC   --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall  -Wl,--hash-style=gnu -Wl,--as-needed -o pacman conf.o database.o deptest.o package.o pacman.o query.o remove.o sync.o callback.o upgrade.o util.o  ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive 
libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -Wall -Wl,--hash-style=gnu -o .libs/pacman conf.o database.o deptest.o package.o pacman.o query.o remove.o sync.o callback.o upgrade.o util.o  -Wl,--as-needed ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/src/pacman'
Making all in scripts
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/scripts'
     GEN makepkg
     GEN pacman-db-upgrade
     GEN pacman-optimize
     GEN pkgdelta
     GEN rankmirrors
     GEN repo-add
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/scripts'
Making all in etc
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/etc'
     GEN makepkg.conf
     GEN pacman.conf
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/etc'
Making all in po
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/po'
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/po'
Making all in test/pacman
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/test/pacman'
Making all in tests
make[3]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/test/pacman/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/test/pacman/tests'
make[3]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/test/pacman'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/test/pacman'
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/test/pacman'
Making all in test/util
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/test/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/test/util'
Making all in contrib
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/contrib'
     GEN bacman
     GEN pacdiff
     GEN paclist
     GEN pacscripts
     GEN pacsearch
     GEN wget-xdelta.sh
     GEN bash_completion
     GEN zsh_completion
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3/contrib'
make[2]: Entering directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3'
make[2]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3'
make[1]: Leaving directory `/home/theif519/Packages/pacman-color/src/pacman-3.5.3'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
/usr/bin/strip: unable to rename './usr/bin/pacman-color'; reason: Success
[theif519@theif519 pacman-color]$ su
Password: 
[root@theif519 pacman-color]# pacman -U ~/Packages/pacman-color
error: '/root/Packages/pacman-color': cannot open package file
[root@theif519 pacman-color]# ls
color.conf  pacman-3.5.3.tar.gz  pacman-color-3.5.3.patch  pkg	PKGBUILD  src
[root@theif519 pacman-color]# pacman -U ~/Packages/pacman-color/pacman-color-3.5.3.patch
error: '/root/Packages/pacman-color/pacman-color-3.5.3.patch': cannot open package file
[root@theif519 pacman-color]# pacman -U ~/Packages/pacman-color/PKGBUILD
error: '/root/Packages/pacman-color/PKGBUILD': cannot open package file
[root@theif519 pacman-color]# pacman -U ~/Packages/pacman-color/pkg
error: '/root/Packages/pacman-color/pkg': cannot open package file
[root@theif519 pacman-color]# pacman -U ~/Packages/pacman-color/pacman-3.5.3.tar.gz
error: '/root/Packages/pacman-color/pacman-3.5.3.tar.gz': cannot open package file
[root@theif519 pacman-color]# pacman -U ~/usr/bin/pacman-color
error: '/root/usr/bin/pacman-color': cannot open package file
[root@theif519 pacman-color]# pacman -U ~/usr/bin/strip
error: '/root/usr/bin/strip': cannot open package file
[root@theif519 pacman-color]#
I can't find the package. Is there a default path to it? I've tried the place where I built it.
 
Old 06-12-2011, 07:48 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
The package did not build successfully.

Quote:
==> Starting package()...
==> Tidying install...
-> Purging other files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
/usr/bin/strip: unable to rename './usr/bin/pacman-color'; reason: Success
Have you tried to put

Code:
alias ls='ls --color=auto'
in ~/.bashrc

EDIT:

This is what it looks like when a package builds successfully:


Code:
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libfm-git 20110612-1 (Sun Jun 12 19:53:04 CDT 2011)

Last edited by andrewthomas; 06-12-2011 at 07:54 PM.
 
Old 06-12-2011, 09:25 PM   #5
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by andrewthomas View Post
The package did not build successfully.



Have you tried to put

Code:
alias ls='ls --color=auto'
in ~/.bashrc

EDIT:

This is what it looks like when a package builds successfully:


Code:
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libfm-git 20110612-1 (Sun Jun 12 19:53:04 CDT 2011)
Thank you for offering the alternative, it worked, but may I ask... 1. Are there other font-color changing aliases I can use, and 2. Can I have an explanation on why it didn't work?
 
Old 06-12-2011, 10:22 PM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by theif519 View Post
Thank you for offering the alternative, it worked, but may I ask... 1. Are there other font-color changing aliases I can use, and 2. Can I have an explanation on why it didn't work?
You probably have problems with your makepkg.conf

It built for me with no problems.

Code:
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pacman-color 3.5.3-1 (Sun Jun 12 22:07:03 CDT 2011)
It just was the /etc/pacman.d/color.conf file and a /usr/bin/pacman-color binary.
 
Old 06-14-2011, 12:28 PM   #7
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by andrewthomas View Post
You probably have problems with your makepkg.conf

It built for me with no problems.

Code:
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pacman-color 3.5.3-1 (Sun Jun 12 22:07:03 CDT 2011)
It just was the /etc/pacman.d/color.conf file and a /usr/bin/pacman-color binary.
You said there was a problem with my makepkg.cfg file, right? What's wrong with it? Should I post what's inside the file here for confirmation?
 
Old 06-14-2011, 04:01 PM   #8
oboedad55
LQ Newbie
 
Registered: Aug 2009
Distribution: Arch, Ubuntu Lucid
Posts: 4

Rep: Reputation: Disabled
I installed pacman-color from the AUR using yaourt. After that add; "alias pacman='pacman-color'" to your .bashrc and if you want root to use it as well add it to root's .bashrc. Root had no .bashrc so I just copied the one from my home directory. Hope this helps.
 
Old 06-14-2011, 05:37 PM   #9
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by oboedad55 View Post
I installed pacman-color from the AUR using yaourt. After that add; "alias pacman='pacman-color'" to your .bashrc and if you want root to use it as well add it to root's .bashrc. Root had no .bashrc so I just copied the one from my home directory. Hope this helps.
His problem was that makepkg failed to finish the build, thus no package to install.
 
Old 06-14-2011, 06:21 PM   #10
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by andrewthomas View Post
His problem was that makepkg failed to finish the build, thus no package to install.
So I'm guessing this doesn't happen very often?
 
Old 06-14-2011, 06:25 PM   #11
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by theif519 View Post
So I'm guessing this doesn't happen very often?
No, especially with such a simple program.

Go ahead and post your /etc/makepkg.conf.
 
Old 06-16-2011, 12:45 AM   #12
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by andrewthomas View Post
No, especially with such a simple program.

Go ahead and post your /etc/makepkg.conf.
Code:
[root@theif519 theif519]# cat /etc/makepkg.conf
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
          'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
          'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
          'rsync::/usr/bin/rsync -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/curl

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="i686"
CHOST="i686-pc-linux-gnu"

#-- Exclusive: will only run on i686
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(fakeroot !distcc color !ccache check)
#  A negated environment option will do the opposite of the comments below.
#
#-- fakeroot: Allow building packages as a non-root user
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#
BUILDENV=(fakeroot !distcc color !ccache check)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
#  A negated option will do the opposite of the comments below.
#
#-- strip:     Strip symbols from binaries/libraries
#-- docs:      Save doc directories specified by DOC_DIRS
#-- libtool:   Leave libtool (.la) files in packages
#-- emptydirs: Leave empty directories in packages
#-- zipman:    Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:     Remove files specified by PURGE_TARGETS
#
OPTIONS=(strip docs libtool emptydirs zipman purge)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
# WARNING: Do NOT modify these variables unless you know what you are
#          doing.
#
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'

# vim: set ft=sh ts=2 sw=2 et:
[root@theif519 theif519]#
Here it is. I never modified nor touched it. I wonder if I did something wrong during the installation... I followed the Tutorial though.
 
Old 06-16-2011, 01:35 AM   #13
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Not a problem there.

Have you built any packages from AUR?

The output of

Code:
pacman -Qm
will show you all the packages that you have that are not currently in the arch repositories.
 
1 members found this post helpful.
Old 06-16-2011, 02:42 AM   #14
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by andrewthomas View Post
Not a problem there.

Have you built any packages from AUR?

The output of

Code:
pacman -Qm
will show you all the packages that you have that are not currently in the arch repositories.
Code:
 madwifi-utils 0.9.4.4119-1
Madwifi seems to be causing me a lot of problems lately. Is it Madwifi that's causing it to fail to make packages?
 
Old 06-16-2011, 07:54 AM   #15
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by theif519 View Post
Code:
 madwifi-utils 0.9.4.4119-1
Madwifi seems to be causing me a lot of problems lately. Is it Madwifi that's causing it to fail to make packages?
No, but you probably don't need it.

Code:
pacman -R madwifi-utils
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone else 'pacman -Sy' instead of simply 'pacman -S'-ing packages? Kenny_Strawn Arch 15 03-23-2011 01:09 PM
vim color schemes only work with sudo tnma Linux - Newbie 1 12-10-2009 10:13 AM
Reinstalling Arch 0.7.1 pacman doesn't work. sr_25 Linux - Newbie 7 07-16-2006 11:23 PM
Getting Color and sound to work in TVtime iotc247 Slackware 7 05-30-2004 03:35 PM
why my linux can't work at 32 color depth??? NeoAnderson Linux - Hardware 6 07-30-2002 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration