You are not logged in.

#1 2006-09-28 10:43:21

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 333
Website

pacman -o problem.

Hi, I am trying to build in fuzzy ocr to fix some spam issues but can't patch and compile a library (libungif) because when I run a ./configure it errors out with:
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check


Now I presume that is owned by gcc, but tried to run a pacman - o /lib/cpp and get:
pacman -o /lib/cpp
error: no operation specified
usage:  pacman {-h --help}
        pacman {-V --version}
        pacman {-A --add}     [options] <file>
        pacman {-R --remove}  [options] <package>
        pacman {-U --upgrade} [options] <file>
        pacman {-F --freshen} [options] <file>
        pacman {-Q --query}   [options] [package]
        pacman {-S --sync}    [options] [package]

use 'pacman --help' with other options for more syntax

However that is a symlink to /usr/bin/cpp so if I try:

pacman -o /usr/bin/cpp
error: no operation specified
usage:  pacman {-h --help}
        pacman {-V --version}
        pacman {-A --add}     [options] <file>
        pacman {-R --remove}  [options] <package>
        pacman {-U --upgrade} [options] <file>
        pacman {-F --freshen} [options] <file>
        pacman {-Q --query}   [options] [package]
        pacman {-S --sync}    [options] [package]

use 'pacman --help' with other options for more syntax


Any thoughts anyone?


Kind regards

Benedict White

Offline

#2 2006-09-28 10:48:53

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: pacman -o problem.

What you want is

pacman -Qo /lib/cpp

You should consider reading the manpage of pacman.

Offline

#3 2006-09-28 11:08:14

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 333
Website

Re: pacman -o problem.

Many thanks.

hangs head in shame :shock:


Kind regards

Benedict White

Offline

#4 2006-09-28 18:43:58

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

Re: pacman -o problem.

As for the configure error, search the forums. There's a fix for that. I can't remember it right now.

EDIT: I think you need to reinstall kernel-headers

Offline

#5 2006-09-29 08:28:47

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 333
Website

Re: pacman -o problem.

Yes I posted a seperate question on that and it was the kernel headers. Thats all fixed now.

Just need to get Fuzzy OCR working now.

Many thanks.


Kind regards

Benedict White

Offline

Board footer

Powered by FluxBB