Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error compiling courier-imap-4.0.1 & courier-imap-4.0.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
axis
n00b
n00b


Joined: 01 Mar 2005
Posts: 5

PostPosted: Tue Mar 01, 2005 7:54 pm    Post subject: Error compiling courier-imap-4.0.1 & courier-imap-4.0.1 Reply with quote

Quote:
Linking libnumlibs.la
rm -f libshnumlib.a
cd .libs && i686-pc-linux-gnu-ar rv ../libshnumlib.a atotimet.o atouidt.o changeuidgid.o strdevt.o strgidt.o strhdevt.o strhinot.o strhpidt.o strhtimet.o strinot.o strofft.o strpidt.o strsize.o strsizet.o strtimet.o struidt.o
i686-pc-linux-gnu-ar: creating ../libshnumlib.a
i686-pc-linux-gnu-ar: atotimet.o: No such file or directory
make[3]: *** [libshnumlib.a] Error 1
make[3]: Leaving directory `/var/tmp/portage/courier-imap-4.0.1-r1/work/courier-imap-4.0.1/numlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/courier-imap-4.0.1-r1/work/courier-imap-4.0.1/numlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/courier-imap-4.0.1-r1/work/courier-imap-4.0.1'
make: *** [all] Error 2


I cannot compile it due that error.
Why atotimet.o isn't there?

thnx.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Mar 01, 2005 8:21 pm    Post subject: Reply with quote

Have you checked ? i.e. is the name of the directory (.libs) correct, or are the object files somewhere else ?
If the prequisites are all in place then this is either a configure error or an ebuild error - post a bug.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
axis
n00b
n00b


Joined: 01 Mar 2005
Posts: 5

PostPosted: Tue Mar 01, 2005 8:51 pm    Post subject: Reply with quote

Quote:
mail numlib # make
make all-am
make[1]: Entering directory `/home/axis/work/courier-imap-4.0.1/numlib'
Compiling atotimet.c
Compiling atouidt.c
Compiling changeuidgid.c
Compiling strdevt.c
Compiling strgidt.c
Compiling strhdevt.c
Compiling strhinot.c
Compiling strhpidt.c
Compiling strhtimet.c
Compiling strinot.c
Compiling strofft.c
Compiling strpidt.c
Compiling strsize.c
Compiling strsizet.c
Compiling strtimet.c
Compiling struidt.c
Linking libnumlib.la
Linking libnumlibs.la
rm -f libshnumlib.a
cd .libs && ar rv ../libshnumlib.a atotimet.o atouidt.o changeuidgid.o strdevt.o strgidt.o strhdevt.o strhinot.o strhpidt.o strhtimet.o strinot.o strofft.o strpidt.o strsize.o strsizet.o strtimet.o struidt.o
ar: creating ../libshnumlib.a
a - atotimet.o
a - atouidt.o
a - changeuidgid.o
a - strdevt.o
a - strgidt.o
a - strhdevt.o
a - strhinot.o
a - strhpidt.o
a - strhtimet.o
a - strinot.o
a - strofft.o
a - strpidt.o
a - strsize.o
a - strsizet.o
a - strtimet.o
a - struidt.o
make[1]: Leaving directory `/home/axis/work/courier-imap-4.0.1/numlib'


It seems an ebuild bug :(
Back to top
View user's profile Send private message
axis
n00b
n00b


Joined: 01 Mar 2005
Posts: 5

PostPosted: Tue Mar 01, 2005 10:09 pm    Post subject: Reply with quote

could ne1 fix this issue?

thnx.
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Tue Mar 01, 2005 10:29 pm    Post subject: Reply with quote

try with MAKEOPTS="-j1" in /etc/make.conf?
_________________
Gentoo users' map
Back to top
View user's profile Send private message
axis
n00b
n00b


Joined: 01 Mar 2005
Posts: 5

PostPosted: Tue Mar 01, 2005 11:24 pm    Post subject: Reply with quote

same error.
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Sat Mar 05, 2005 3:24 pm    Post subject: Reply with quote

I'm having the same problem too, anyone found a fix?
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Sat Mar 05, 2005 3:48 pm    Post subject: Reply with quote

Post use flags from emerge -pv courier-imap, otherwise nobody can reproduce this. Also other compile flags from emerge info would be really helpful. :!:
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Sat Mar 05, 2005 8:12 pm    Post subject: Reply with quote

ok emerge -vp courier-imap gives the following:

Code:

emerge -vp courier-imap

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] net-mail/courier-imap-4.0.1 [3.0.7] +berkdb -debug +fam* +gdbm +ipv6* +nls (-selinux) 0 kB


I tried re emerging it with USE="-fam -ipv6" but
I got the same error.

Here's the output from emerge info

Code:

emerge info
Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.2-r9, 2.6.10-linode11 i686)
=================================================================
System uname: 2.6.10-linode11 i686 UML
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 28 2005, 10:32:37)]
dev-lang/python:     2.2.3-r1, 2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r3
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode f77 fam font-server foomaticdb fortran gd gdbm gif gpm imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad maildir mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Sat Mar 05, 2005 9:12 pm    Post subject: Reply with quote

Hmm, I can see that you have two versions of python, two versions of linux-headers and extremely outdated base system version. You are also using a very old profile.

Switch your profile to default-linux/x86/2004.3, unmerge both versions of linux-headers, emerge linux26-headers, emerge glibc, run revdep-rebuild -pv and then try to emerge courier-imap again.

I am unable to reproduce this with exactly the same use flags (+berkdb -debug -fam +gdbm -ipv6 +nls (-selinux)
Back to top
View user's profile Send private message
Angrybob
Guru
Guru


Joined: 19 Apr 2003
Posts: 575

PostPosted: Sun Mar 06, 2005 4:12 pm    Post subject: Reply with quote

j-m wrote:
Hmm, I can see that you have two versions of python, two versions of linux-headers and extremely outdated base system version. You are also using a very old profile.

Switch your profile to default-linux/x86/2004.3, unmerge both versions of linux-headers, emerge linux26-headers, emerge glibc, run revdep-rebuild -pv and then try to emerge courier-imap again.

I am unable to reproduce this with exactly the same use flags (+berkdb -debug -fam +gdbm -ipv6 +nls (-selinux)


well after a night recompiling my system so it's up to date I managed to get courier-imap installed fine. everything works well now and I can check my emails once again :)
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Sun Mar 06, 2005 9:31 pm    Post subject: Reply with quote

Wow! Excellent... please put [solved] into the thread subject. :wink:
Back to top
View user's profile Send private message
eamonn
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2003
Posts: 118

PostPosted: Tue Mar 08, 2005 5:23 pm    Post subject: Reply with quote

i am having the same problem

here is my emerge info
Code:


linuxbox mail-filter # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r8 i686)
=================================================================
System uname: 2.6.8-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jul 18 2004, 03:14:02)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.3-r1
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apache2, apm arts avi berkdb bitmap-fonts cdr crypt crypt, cups curl emboss encode f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imap, imlib ipv6 java java, javacomm, javadoc, javamail, jikes, jpeg kde ldap ldap, libg++ libwww mad maildir, mikmod motif mp3 mpeg mysql mysql, ncurses nls nls, oggvorbis opengl oss pam pdflib perl perl, png python qt quicktime readline samba sasl, sdl spell ssl ssl, svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xerces, xml, xml2 xmlrpc, xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Tue Mar 08, 2005 5:52 pm    Post subject: Reply with quote

upgrade your libtool, automake, autoconf, binutils to the latest stable (if you don't want to update system or world), then try again
Code:
# emerge --oneshot libtool automake autoconf binutils

_________________
Gentoo users' map
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum