How to compile cups?

Retep Grubanov rgrubanov at yahoo.de
Tue Nov 7 09:11:41 PST 2006


Michael Sweet wrote:

> Retep Grubanov wrote:
>> Michael Sweet wrote:
>> 
>>> Retep Grubanov wrote:
>>>> Michael Sweet wrote:
>>>>
>>>>> Retep Grubanov wrote:
>>>>>> Michael Sweet wrote:
>>>>>>
>>>>>>> Retep Grubanov wrote:
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I'm sure that's a faq but I couldn't find an answer. I try to
>>>>>>>> compile cups, but I can not find ./configure in the distribution
>>>>>>>> directory as it is documented in INSTALL.txt.
>>>>>>>>
>>>>>>>> I get the kit this way:
>>>>>>>>
>>>>>>>> # svn co https://svn.easysw.com/public/cups/branches/branch-1.1
>>>>>>>> # cups
>>>>>>>>
>>>>>>>> Can some one help me?
>>>>>>> You need to run autoconf first if you are compiling from the
>>>>>>> Subversion repository.
>>>>>>>
>>>>>> Thank you, it works fine with autoconf.
>>>>>>
>>>>>> You made a 'lpc status' fix (#2069) for me, also thanks for that.
>>>>>>
>>>>>> I thought, that I can get the last version of 1.1 branch, compile the
>>>>>> whole thing and then extracting lpc from that build. Is that
>>>>>> possible?
>>>>>>
>>>>>> I tried that but the 'lpc status' error still remains. Is your fix
>>>>>> only valid for cups1.3? Do I have to upgrade?
>>>>> The fix is in trunk (1.3svn) and branch-1.2.  If you want the fix in
>>>>> 1.1.x, you'll have to backport the change from trunk.
>>>>>
>>>> It seems that I have to upgrade. I have no idea about backporting
>>>> changes from trunk.
>>>>
>>>> Can I download the latest version 1.2 bz2 or gz archive to build a rpm
>>>> package with the incorporated fix? Or to I have to compile from a
>>>> subversion extract?
>>> I'll be rolling 1.2.6 today, so you can grab that...
>>>
>> Thanks.
>> 
>> Some problems remains:
>> 
>> # rpmbuild -ta cups-1.2.6-source.tar.gz \
>>            --without dbus --without php --without pam
>> 
>> Results in:
>> 
>> Requires: cups = 1:1.2.6
>> RPM build errors:
>>     File not found: /tmp/cups-root/etc/pam.d
>>     File not found by glob: /tmp/cups-root/etc/pam.d/*
>> 
>> Do you have a hint?
> 
> There is no "--without pam" option for the RPM spec file.  PAM is
> required for LSB conformance, and if you don't have PAM then you
> can't use the RPM spec file we supply.
> 
> More than likely you don't have the pam-devel package installed.
> 
I had to install pam-devel package.
Now it seems to work perfect, great :-)!!




More information about the cups mailing list