Sam Varshavchik wrote:

> gillianb writes:
>
>> Hi,
>>
>> I have used courier-mta for a few years and hence installed it quite a few times - always on RH clones and fedora. I reckon it is a great app, thanks so much for making it available and having great doco.
>>
>> I recently downloaded courier-0.49.0.tar.bz2 to install on a new box, and built the rpms just as the instructions say,and installed it from there. This install is full of problems for one thing, everything that should be owned by courier is owned by daemon, and the processes are all starting up as daemon. As a result, I am getting permission denied errors when ever I try to do anything. I have a user/group courier, and build the rpms as the courier user, all that stuff.
>>
>> Also, I cant find authdaemon.plain anywhere. Have I missed something with this new version?
>
>
>
> Starting with version 0.48 you must install the courier-authlib package before installing Courier. It's strange that you were able to even build and install the RPMs in the first place. The code should not've even built without the courier-authlib RPMs being installed first.
>
> So, you need to backtrack and figure out exactly what you did, and how.
>

Hi Sam, thanks for responding so quickly (well, at all really)!

I did install the authlib packages that went with courier-0.49 otherwise the rpms wouldnt' build. I was able to build the rpms, and install courier all without error. It is just the running part post install - ie all ownerships are incorrect hence the "permission denied" errors.

However, a new problem, I have just downloaded the latest 0.50 with the authlibs that go with it, and am now unable to build the rpms:

RPM build errors:
    File not found by glob:
/var/tmp/courier-0.47-1.2-buildroot/usr/local/bin/*


I found a bugzilla mailing list entry between you and Paul Howarth, but the solution was unclear:
# Figure out how deep down bindir is
touch $RPM_BUILD_ROOT/rootfile
root=..
while [ ! -r $RPM_BUILD_ROOT/%{_bindir}/${root}/rootfile ] ; do
    root=${root}/..
done


# Install symlink from %{_bindir} to %{_datadir}
%{__ln_s} ${root}/%{_datadir}/some.file $RPM_BUILD_ROOT/%{_bindir}/some.file


# Clean up temporary files in buildroot
%{__rm} -f $RPM_BUILD_ROOT/rootfile

I assume this goes into courier.spec, but does it matter where?

Thanks, Gillian


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to