Dmitry Blum | 1 Feb 09:54
Picon
Favicon

libxcb 1.0 bug with dependencies xcb-proto

X86
LFS 6.8
BLFS 6.3
X`s prefix - /usr
I installed xcb-proto, but libxcb all the same print "No package 'xcb-proto' found"
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Firerat | 1 Feb 10:26
Gravatar

Re: libxcb 1.0 bug with dependencies xcb-proto

On 1 February 2012 08:54, Dmitry Blum <DezmonT <at> gmx.com> wrote:
> X86
> LFS 6.8
> BLFS 6.3
> X`s prefix - /usr
/usr?
or /usr/X11 ?

you are better off having X in its own subdir and not 'mixed in' with
the rest of /usr

> I installed xcb-proto, but libxcb all the same print "No package 'xcb-proto'
> found"

I assume that the " ./configure " stage is failing
the ./configure script is calling pkg-config

do you have pkg-config installed?

    pkg-config

you should see  this :
    # pkg-config
    # Must specify package names on the command line
if not then you need to install pkg-config ( see section 12 )

if it is , then you need to make sure it is configured with the correct paths,

first lets find where xcb-proto.pc lives , assuming x's prefix *starts* /usr
    find /usr/ -name "xcb-proto.pc"
example output:
# /usr/X11/lib/pkgconfig/xcb-proto.pc

now take a peak at PKG_CONFIG_PATH

    echo $PKG_CONFIG_PATH

if that does not contain the PATH noted with the find command above,
we shall tag it on the end

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11/lib/pkgconfig

but that should have been setup in section Introduction to Xorg-<version>

and , yeah, pkg-config should probably be listed as a dependency some
place 'early' , maybe Xorg Protocol Headers?

-- 
Firerat
Talented, Witty And Thoughtful .. is how most describe me.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Simon Geard | 1 Feb 11:05
Picon

Re: libxcb 1.0 bug with dependencies xcb-proto

On Wed, 2012-02-01 at 09:26 +0000, Firerat wrote:
> On 1 February 2012 08:54, Dmitry Blum <DezmonT <at> gmx.com> wrote:
> > X86
> > LFS 6.8
> > BLFS 6.3
> > X`s prefix - /usr
> /usr?
> or /usr/X11 ?
> 
> you are better off having X in its own subdir and not 'mixed in' with
> the rest of /usr

Why do you say that? Unless it's part of your package management
strategy, putting everything in /usr is the least painful approach,
avoiding the usual problems with $PATH, $PKG_CONFIG_PATH, etc.

Simon.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
DJ Lucas | 1 Feb 11:08
Picon
Favicon

Re: libxcb 1.0 bug with dependencies xcb-proto

On 02/01/2012 04:05 AM, Simon Geard wrote:
> On Wed, 2012-02-01 at 09:26 +0000, Firerat wrote:
>> On 1 February 2012 08:54, Dmitry Blum<DezmonT <at> gmx.com>  wrote:
>>> X86
>>> LFS 6.8
>>> BLFS 6.3
>>> X`s prefix - /usr
>> /usr?
>> or /usr/X11 ?
>>
>> you are better off having X in its own subdir and not 'mixed in' with
>> the rest of /usr
>
> Why do you say that? Unless it's part of your package management
> strategy, putting everything in /usr is the least painful approach,
> avoiding the usual problems with $PATH, $PKG_CONFIG_PATH, etc.
>
> Simon.
>

Yes, using alternate paths is a PITA. While X isn't really horrible, I 
still do it for the book on my dev VMs, but on my daily system I use 
/usr. Perhaps I should make that more clear in the book?

-- DJ Lucas

--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Dmitry Blum | 1 Feb 11:14
Picon
Favicon

Re: libxcb 1.0 bug with dependencies xcb-proto

Pkg-config was installed and pre-installed after LFS.
After was preinstalled xorg-headers and -utils,
then xcb-proto and libxcb . The last is "continues to want" xcb-proto. (
Now i exported  PKG_CONFIG_PATH and preinstalled xcb-proto & libxcb . Nothing has changed
Maybe something i did wrong?
It`s exhaust (copy&paste from term)



checking dependency style of gcc... (cached) gcc3
checking for xsltproc... /usr/bin/xsltproc
checking for XCBPROTO... configure: error: Package requirements (xcb-proto >= 1.0) were not met:

No package 'xcb-proto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XCBPROTO_CFLAGS
and XCBPROTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


 

----- Original Message -----

From: Firerat

Sent: 02/01/12 12:26 PM

To: BLFS Support List

Subject: Re: [blfs-support] libxcb 1.0 bug with dependencies xcb-proto


On 1 February 2012 08:54, Dmitry Blum <DezmonT <at> gmx.com> wrote: > X86 > LFS 6.8 > BLFS 6.3 > X`s prefix - /usr /usr? or /usr/X11 ? you are better off having X in its own subdir and not 'mixed in' with the rest of /usr > I installed xcb-proto, but libxcb all the same print "No package 'xcb-proto' > found" I assume that the " ./configure " stage is failing the ./configure script is calling pkg-config do you have pkg-config installed? pkg-config you should see this : # pkg-config # Must specify package names on the command line if not then you need to install pkg-config ( see section 12 ) if it is , then you need to make sure it is configured with the correct paths, first lets find where xcb-proto.pc lives , assuming x's prefix *starts* /usr find /usr/ -name "xcb-proto.pc" example output: # /usr/X11/lib/pkgconfig/xcb-proto.pc now take a peak at PKG_CONFIG_PATH echo $PKG_CONFIG_PATH if that does not contain the PATH noted with the find command above, we shall tag it on the end export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11/lib/pkgconfig but that should have been setup in section Introduction to Xorg-<version> and , yeah, pkg-config should probably be listed as a dependency some place 'early' , maybe Xorg Protocol Headers? -- Firerat Talented, Witty And Thoughtful .. is how most describe me. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Firerat | 1 Feb 11:42
Gravatar

Re: libxcb 1.0 bug with dependencies xcb-proto

On 1 February 2012 10:05, Simon Geard <delgarde <at> ihug.co.nz> wrote:
> On Wed, 2012-02-01 at 09:26 +0000, Firerat wrote:
>> On 1 February 2012 08:54, Dmitry Blum <DezmonT <at> gmx.com> wrote:
>> > X86
>> > LFS 6.8
>> > BLFS 6.3
>> > X`s prefix - /usr
>> /usr?
>> or /usr/X11 ?
>>
>> you are better off having X in its own subdir and not 'mixed in' with
>> the rest of /usr
>
> Why do you say that? Unless it's part of your package management
> strategy, putting everything in /usr is the least painful approach,
> avoiding the usual problems with $PATH, $PKG_CONFIG_PATH, etc.
>

I guess I'm just old fashioned,
X is X, kde is kde, gnome is gnome
IMO they are all large enough projects to warrant their own subdir,
making for simple backup/trial switch
So, I guess it is package management, or rather an extension to the
pkguser strategy I use

-- 
Firerat
Talented, Witty And Thoughtful .. is how most describe me.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Firerat | 1 Feb 11:57
Gravatar

Re: libxcb 1.0 bug with dependencies xcb-proto

On 1 February 2012 10:14, Dmitry Blum <DezmonT <at> gmx.com> wrote:
> Pkg-config was installed and pre-installed after LFS.
> After was preinstalled xorg-headers and -utils,
> then xcb-proto and libxcb . The last is "continues to want" xcb-proto. (
> Now i exported  PKG_CONFIG_PATH and preinstalled xcb-proto & libxcb .
> Nothing has changed
> Maybe something i did wrong?
> It`s exhaust (copy&paste from term)
>
>
> checking dependency style of gcc... (cached) gcc3
> checking for xsltproc... /usr/bin/xsltproc
> checking for XCBPROTO... configure: error: Package requirements (xcb-proto
>>= 1.0) were not met:
>
> No package 'xcb-proto' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables XCBPROTO_CFLAGS
> and XCBPROTO_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>

so.. what does

    pkg-config --modversion xcb-proto

yield?

-- 

Firerat
Talented, Witty And Thoughtful .. is how most describe me.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Dmitry Blum | 1 Feb 12:11
Picon
Favicon

Re: libxcb 1.0 bug with dependencies xcb-proto

Thanks!!

 

----- Original Message -----

From: Firerat

Sent: 02/01/12 01:57 PM

To: BLFS Support List

Subject: Re: [blfs-support] libxcb 1.0 bug with dependencies xcb-proto


On 1 February 2012 10:14, Dmitry Blum <DezmonT <at> gmx.com> wrote: > Pkg-config was installed and pre-installed after LFS. > After was preinstalled xorg-headers and -utils, > then xcb-proto and libxcb . The last is "continues to want" xcb-proto. ( > Now i exported  PKG_CONFIG_PATH and preinstalled xcb-proto & libxcb . > Nothing has changed > Maybe something i did wrong? > It`s exhaust (copy&paste from term) > > > checking dependency style of gcc... (cached) gcc3 > checking for xsltproc... /usr/bin/xsltproc > checking for XCBPROTO... configure: error: Package requirements (xcb-proto >>= 1.0) were not met: > > No package 'xcb-proto' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables XCBPROTO_CFLAGS > and XCBPROTO_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > so.. what does pkg-config --modversion xcb-proto yield? -- Firerat Talented, Witty And Thoughtful .. is how most describe me. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Firerat | 1 Feb 12:16
Gravatar

Re: libxcb 1.0 bug with dependencies xcb-proto

On 1 February 2012 11:11, Dmitry Blum <DezmonT <at> gmx.com> wrote:
> Thanks!!
>
errm, yw
but what did I do?

and for the benefit of anyone who googled ( or any search engined )
their way here , what turned out to be the problem and solution?

-- 

Firerat
Talented, Witty And Thoughtful .. is how most describe me.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Ronnie van Aarle | 2 Feb 18:33
Picon

Linux-PAM-1.1.5 fatal error: rpc/rpc.h: No such file or directory

Hello Everybody,


I'm working on the blfs security packages, and I am now attempting to install Linux-PAM-1.1.5

make exits with Error 2 due to the fact there is no rpc/rpc.h header available.

I don't know what I should do now. I suppose getting those headers that are required, but I don't know where to get them and how to install them without breaking my blfs build or deviating from LSB standards.

I have just installed CrackLib, so in this particular phase reinstalation of shadow is also required. I am not sure what will happen if I reboot the system without doing this. Also I am not sure if I can skip forward to install shadow, find a solution for this PAM problem and reinstall shadow again after solving that.

Thanks in advance, Ronnie van Aarle.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Gmane