Re: Compile errors
On Mon, Apr 20, 2015 at 09:13:15AM +0200, Heinz Diehl wrote: > xsltproc --nonet -o manual.html ./html.xsl manual.xml > I/O error : Attempt to load network entity > http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl That's because the xsltproc tool is explicitly requested not to permit any network access (--nonet). Solution is to install DocBook DTDs into your file system and register them in /etc/xml/catalog. Common Linux distributions provide packages doing all the necessary things. Mutt's configure script could check for working xsltproc --nonet on simple DocBook document with external DTD declaration to die sooner. -- Petr pgpMFhydogJVE.pgp Description: PGP signature
Compile errors
Hi, looks like a minor thing, but anyway. Compiling mutt produces amongst others the output below: [] touch stamp-doc-xml xsltproc --nonet -o manual.html ./html.xsl manual.xml I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"; compilation error: file ./html.xsl line 3 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl Makefile:702: recipe for target 'manual.html' failed make[2]: [manual.html] Error 5 (ignored) rm -f Muttrc stamp-doc-rc sed -e 's,[@]docdir[@],/usr/local/share/doc/mutt,' ./Muttrc.head > Muttrc gcc -E -I. -I.. -I/usr/local/include -I.. -DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I/include -I../intl -D_MAKEDOC -C \ ../init.h | ./makedoc -c >> Muttrc touch stamp-doc-rc xsltproc --nonet ./chunk.xsl manual.xml I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"; compilation error: file ./chunk.xsl line 3 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl Makefile:705: recipe for target 'stamp-doc-chunked' failed make[2]: [stamp-doc-chunked] Error 5 (ignored) touch stamp-doc-chunked [] The docbook links are however valid and load in my browser.. Thanks, Heinz.
Re: compile errors on latest pull from dev.mutt.org/hg
On Sun, Mar 15, 2009 at 04:49:48PM +0100, Rocco Rutte wrote: > Hi, > In tip I've added a compatibility function so that it compiles if it's > missing from the system. Sorry for the breakage. > Thanks so much Rocco. festus -- I just want to break even. pgpykdoAEy4c7.pgp Description: PGP signature
Re: compile errors on latest pull from dev.mutt.org/hg
Hi Rocco, * Rocco Rutte on Sunday, March 15, 2009 at 16:49:48 +0100 > * John J. Foster wrote: >> System: >> Mac w/10.5.6 > > [...] > >> Undefined symbols: >> "_wcscasecmp", referenced from: > > In tip I've added a compatibility function so that it compiles if it's > missing from the system. Sorry for the breakage. Thank you very much for the instant fix! c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ http://www.blacktrash.org/underdogma/ http://www.blacktrash.org/underdogma/index-en.html
Re: compile errors on latest pull from dev.mutt.org/hg
Hi, * John J. Foster wrote: System: Mac w/10.5.6 [...] Undefined symbols: "_wcscasecmp", referenced from: In tip I've added a compatibility function so that it compiles if it's missing from the system. Sorry for the breakage. Rocco
Re: compile errors on latest pull from dev.mutt.org/hg
* John J. Foster on Sunday, March 15, 2009 at 08:20:32 -0600 > System: > Mac w/10.5.6 > Undefined symbols: > "_wcscasecmp", referenced from: > _enriched_set_flags in handler.o > _enriched_set_flags in handler.o > _enriched_set_flags in handler.o > _enriched_set_flags in handler.o > _enriched_set_flags in handler.o > _enriched_set_flags in handler.o > _enriched_set_flags in handler.o > _enriched_set_flags in handler.o > _enriched_set_flags in handler.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [mutt] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 Same here. c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ http://www.blacktrash.org/underdogma/ http://www.blacktrash.org/underdogma/index-en.html
compile errors on latest pull from dev.mutt.org/hg
System: Mac w/10.5.6 Compile options: -prefix=/opt/local/ --enable-debug --enable-hcache --with-ssl --enable-imap --disable-fcntl --enable-flock --with-regex CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib CFLAGS=-ggdb Make errors: regex.c: In function ‘regex_compile’: regex.c:2209: warning: comparison is always false due to limited range of data type mv -f .deps/regex.Tpo .deps/regex.Po gcc -Wall -pedantic -Wno-long-long -ggdb -L/opt/local/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 crypt-mod.o patchlist.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 bcache.o account.o mutt_socket.o mutt_tunnel.o mutt_ssl.o hcache.o md5.o regex.o -Limap -limap -lncursesw -lssl -lcrypto -lz -ltokyocabinet -lintl -liconv -liconv Undefined symbols: "_wcscasecmp", referenced from: _enriched_set_flags in handler.o _enriched_set_flags in handler.o _enriched_set_flags in handler.o _enriched_set_flags in handler.o _enriched_set_flags in handler.o _enriched_set_flags in handler.o _enriched_set_flags in handler.o _enriched_set_flags in handler.o _enriched_set_flags in handler.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [mutt] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Thanks, festus -- I just want to break even. pgpdTpTs456J2.pgp Description: PGP signature