Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th January 2011, 12:11
sammd006 sammd006 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 26
Thanks: 2
Thanked 2 Times in 1 Post
Default HOWTO:Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail

Hi Falko,
Currently I am following your tutorial:

HOWTO: Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedora 13 x86_64)

I am stuck in part 4 (4 Install Courier-IMAP, Courier-Authlib, And Maildrop)

When I am trying to build rpm packages using

rpmbuild -ta courier-imap-4.8.0.tar.bz2

i am getting the bellow errors:

Obsoletes: courier-imap-ldap courier-imap-mysql courier-imap-pgsql
Processing files: courier-imap-debuginfo-4.8.0-1.13.i686
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/dust/rpm/BUILDRO OT/courier-imap-4.8.0-1.13.i386
Wrote: /home/dust/rpm/SRPMS/courier-imap-4.8.0-1.13.src.rpm
error: Could not open /home/dust/rpm/RPMS/i686/courier-imap-4.8.0-1.13.i686.rpm:Permission denied

RPM build errors:
Could not open /home/dust/rpm/RPMS/i686/courier-imap-4.8.0-1.13.i686.rpm: Permission denied

I cannot build only this rpm

regards,
Dustin
Reply With Quote
Sponsored Links
  #2  
Old 18th January 2011, 23:08
sammd006 sammd006 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 26
Thanks: 2
Thanked 2 Times in 1 Post
Default

Hi,

Found the solution.... After searches I have found this:

sudo chown user /home/rpm/RPMS/i686 (press enter)

where user = your username
path where i686 may be different for your system....

afterwards i ran the command to build the rpm and it was done without any errors

thanks alot

Dustin
Reply With Quote
  #3  
Old 31st October 2012, 11:21
Totenkopf Totenkopf is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

I'm also currently following the tutorial "HOWTO: Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedora 13 x86_64)" and being stuck.

I can't build an rpm out of "courier-authlib-0.65.0.tar.bz2", because i always get the following error:

Quote:
(...)
checking for mysql_real_connect... yes
checking for mysql_connect... (cached) no
checking for mysql_real_connect... (cached) yes
checking for sqlite3_version... no
checking for sqlite3_version... (cached) no
configure: error: Cannot link with
error: Bad exit status from /var/tmp/rpm-tmp.2sOSSG (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.2sOSSG (%prep)
I'm running a CentOS 6.3 with Apache, MySQL, already installed and configured.

This is the first time i try to build a package, so any ideas would be great! :/
Reply With Quote
  #4  
Old 31st October 2012, 12:08
Totenkopf Totenkopf is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now i've used the exactz package from the tutorial "courier-authlib-0.63.0.tar.bz2" but the result differs a bit from the tutorials. My "/rpm/RPMS/" folder is empty, but i've got some files in the "rpm/BUILD" dir, like executable conf and install scripts.

What shall i do with them?
Reply With Quote
  #5  
Old 31st October 2012, 13:15
Totenkopf Totenkopf is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Got it!

The rpms from the commands with sudo are created in the home dir of root (/root/rpms/RPMS/x86_64/<bla>.rpm) and the courier-imap rpm is created in the home dir of the user falko.

Works fine, even if i still dont understand, why i cant build an rpm from the newer authlib package...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (mdv2010) taylor-made HOWTO-Related Questions 1 21st July 2010 05:18
Update for Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail de Freitas HOWTO-Related Questions 6 7th July 2010 22:49
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10) keyslapper HOWTO-Related Questions 4 20th April 2010 15:46
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.04) Master One HOWTO-Related Questions 4 1st July 2009 15:38
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10) VTCop HOWTO-Related Questions 9 9th April 2009 16:17


All times are GMT +2. The time now is 12:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.