Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#14226 closed defect (fixed)

'mutt +imap +imap_headercache' doesnot compile

Reported by: pc@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: mutt imap_headercache Cc: raimue (Rainer Müller), simon@…
Port:

Description

#port install  mutt +imap +ssl +imap_headercache
(...)
--->  Building mutt with target all
Error: Target org.macports.build returned: (...)&& make all " returned error 2
(...)
/usr/bin/ld: Undefined symbols:
_imap_headercache_close
(...)

I switch to the installing directory and do the following, but with little progress:

# ./prepare && make all
(...)
Undefined symbols:
_imap_browse
(...)

Installing the port without the variant imap_headercache works.

Attachments (1)

mutt-1.5.17-Portfile.patch (2.6 KB) - added by daniel.bond@… 16 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: Port Bugs

comment:2 Changed 16 years ago by daniel.bond@…

Bumped version up to 1.5.17 - this is the recommended version in #mutt@freenode. It includes usefull patches since 1.4.x in code base, and a security fixes.

Changed 16 years ago by daniel.bond@…

Attachment: mutt-1.5.17-Portfile.patch added

comment:3 Changed 16 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Committed in r35813.

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: closedreopened

Aren't unstable versions like 1.5.17 what the mutt-devel port is for?

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Cc: raimue@… added

comment:6 Changed 16 years ago by raimue (Rainer Müller)

Sorry, I did not realize this is an unstable release. I reverted the commit for now (r35814).

comment:7 Changed 16 years ago by pc@…

Sorry for the confusion - I donot know if I really used version 1.6 before. Here my actual problem on

PPC 10.4:

$ sudo port install mutt +imap +ssl +imap_headercache
--->  Unpacking tgz archive for mutt 1.4.2.3_0+imap+imap_headercache+ssl
--->  Activating mutt 1.4.2.3_0+imap+imap_headercache+ssl
--->  Cleaning mutt
$ mutt -v
Mutt 1.4.2.3i (2007-05-26)
(...)
-USE_POP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  

You can see that even POP is not enabled, I think I do something very wrong :(

I encountered an other problem, doing the same on

Intel 10.4:

$ sudo port install mutt +imap +imap_headercache +ssl
--->  Configuring mutt
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_mutt/work/mutt-1.4.2.3" && ./configure --prefix=/opt/local --disable-warnings --mandir='${prefix}/share/man' --with-docdir='${prefix}/share/doc/mutt' --with-libiconv-prefix=/opt/local --enable-imap --with-ssl --enable-compressed " returned error 1
(...)
checking for X509_new in -lcrypto... no
configure: error: Unable to find SSL library

comment:8 Changed 16 years ago by pc@…

After installing the missing ssl Library:

# port install openssl

I gave another try:

# port install mutt +ssl +imap +imap_headercache
--->  Fetching mutt
--->  Attempting to fetch mutt-1.4.2.3.tar.gz from ftp://ftp.mutt.org/mutt/
--->  Verifying checksum(s) for mutt
--->  Extracting mutt
--->  Applying patches to mutt
--->  Configuring mutt
--->  Building mutt with target all
Error: Target org.macports.build returned: 
(...)
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_imap_headercache_close
_imap_headercache_delete
_imap_headercache_open
_imap_headercache_update
_imap_headercache_add
_imap_headercache_done
_imap_headercache_find
collect2: ld returned 1 exit status
make[2]: *** [mutt] Error 1

So, nothing new :-(

But then I remind the posting 2008-04-06 19:32:11 changed by daniel.bond@… and did the following:

# port install mutt-devel +ssl +imap +imap_headercache 
--->  Activating mutt-devel 1.5.17_1+gdbm+imap+pop+ssl

Ya, and that's it! Works fine :)

since

$ port info mutt

tells you that the Variant 'imap_headercache' is possible for mutt 1.4.2.3 , what is obviously not true, I would suggest to delete that Variant for mutt 1.4.2.3

Thank you for your help :)

comment:9 Changed 16 years ago by pc@…

there was a mistake in my previous posting: the variant for mutt-devel isnot 'imap_headercache' but simply 'headercache', just what an 'port info mutt-devel' will report. So if you want to install imap with ssl and headercache, the proper command is:

# port install mutt-devel +ssl +headercache

comment:10 Changed 16 years ago by simon@…

Cc: simon@… added
Resolution: fixed
Status: reopenedclosed

Sorry for the late reply. As it looks like mutt-devel is working, I just removed the imap_headercache variant from mutt in r39121.

Thanks for your report and the working solution.

Simon

comment:11 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.