You are not logged in.
Hiya ![]()
I'm trying to build a custom version of mutt, but even if I don't change anything in the PKGBUILD, I can't compile it on my machine. The problem is that somewhere during the build, the automake stuff generates this gcc command:
gcc -Wall -pedantic -march=i686 -mtune=generic -O2 -pipe -L/usr/lib -L/usr/lib -L/lib -o mutt addrbook.o alias.o attach.o base64.o browser.o buffy.o color.o crypt.o cryptglue.o commands.o complete.o compose.o copy.o curs_lib.o curs_main.o date.o edit.o enter.o flags.o init.o filter.o from.o getdomain.o group.o handler.o hash.o hdrline.o headers.o help.o hook.o keymap.o main.o mbox.o menu.o mh.o mx.o pager.o parse.o pattern.o postpone.o query.o recvattach.o recvcmd.o rfc822.o rfc1524.o rfc2047.o rfc2231.o rfc3676.o score.o send.o sendlib.o signal.o sort.o status.o system.o thread.o charset.o history.o lib.o muttlib.o editmsg.o mbyte.o url.o ascii.o mutt_idna.o crypt-mod.o patchlist.o crypt-gpgme.o crypt-mod-pgp-gpgme.o crypt-mod-smime-gpgme.o pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o crypt-mod-pgp-classic.o smime.o crypt-mod-smime-classic.o resize.o dotlock.o pop.o pop_lib.o pop_auth.o smtp.o bcache.o account.o mutt_socket.o mutt_tunnel.o mutt_ssl.o mutt_sasl.o hcache.o md5.o regex.o -Limap -limap -lslang -lm -lssl -lcrypto -lz -lsasl2 -lgdbm -lgpgme -lgpg-errorAs you can see, some of the linking switches are at the end of the command instead of in the middle with the other switches (thanks to Xilon for pointing this out) and this causes the linker to fail and the build process to abort.
Is this a problem with my installation or can someone reproduce this and/or provide a solution?
Chris
Offline
Can you post all the output of the build and especially the reason it fails?
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
ooops forgot to post the link, here you go: http://rafb.net/p/uXTK9O94.html
Last edited by delmonico (2008-12-15 16:29:43)
Offline
I don't get it. Just tried it on a different arch machine and it builds without problems... wtf?!
Offline
how does your makepkg.conf look like ?
Offline
I'm using an unmodified makepkg.conf, just deleted the file and reinstalled the pacman package, didn't help ![]()
Last edited by delmonico (2008-12-19 09:50:12)
Offline
ooops forgot to post the link, here you go: http://rafb.net/p/uXTK9O94.html
link doesn't work .
Offline
New link: http://rafb.net/p/ZFijse25.html
Offline