wummel / linkchecker

check links in web documents or full websites
http://wummel.github.io/linkchecker/
GNU General Public License v2.0
1.42k stars 234 forks source link

Trouble building LinkChecker 5.3 on OSX #242

Closed wummel closed 11 years ago

wummel commented 11 years ago

Converted from SourceForge issue 3093852, submitted by richb-hanover

Hello,

I'm trying to build LinkChecker 5.3 from source on OSX (I'm using MacOSX 10.6.4). I unzip it then cd to the LinkChecker directory and issue the python setup.py build command. Here's the error shown at the end of the build messages:

running build_ext error: No such file or directory

What other information could I provide? Many thanks.

Rich Brown richard.e.brown@dartware.com Dartware, LLC http://www.intermapper.com 66-7 Benning Street Telephone: 603-643-9600 West Lebanon, NH 03784-3407 Fax: 603-643-2289

--- Full build messages ---- [dhcp-58:~/Desktop/NewStuff/LinkChecker-5.3 2] richb% sudo python setup.py build creating /Users/richb/Desktop/NewStuff/LinkChecker-5.3 2/_LinkChecker_configdata.py running build creating build creating build/share creating build/share/locale creating build/share/locale/de creating build/share/locale/de/LC_MESSAGES creating build/share/locale/es creating build/share/locale/es/LC_MESSAGES creating build/share/locale/fr creating build/share/locale/fr/LC_MESSAGES running build_py creating build/lib.macosx-10.3-fat-2.6 creating build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/ansicolor.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/clamav.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/containers.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/cookies.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/decorators.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/dummy.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/fcgi.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/fileutil.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/ftpparse.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/geoip.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/gzip2.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/httplib2.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/httputil.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/i18n.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/lc_cgi.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/lock.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/log.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/mem.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/robotparser2.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/socketutil.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/strformat.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/threader.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/trace.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/url.py -> build/lib.macosx-10.3-fat-2.6/linkcheck copying linkcheck/winutil.py -> build/lib.macosx-10.3-fat-2.6/linkcheck creating build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/blacklist.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/csvlog.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/customxml.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/dot.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/gml.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/graph.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/gxml.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/html.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/none.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/sql.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/text.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger copying linkcheck/logger/xmllog.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/logger creating build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/const.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/fileurl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/ftpurl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/httpheaders.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/httpsurl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/httpurl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/internpaturl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/mailtourl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/nntpurl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/proxysupport.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/telneturl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/unknownurl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker copying linkcheck/checker/urlbase.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/checker creating build/lib.macosx-10.3-fat-2.6/linkcheck/director copying linkcheck/director/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/director copying linkcheck/director/aggregator.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/director copying linkcheck/director/checker.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/director copying linkcheck/director/cleanup.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/director copying linkcheck/director/console.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/director copying linkcheck/director/logger.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/director copying linkcheck/director/status.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/director copying linkcheck/director/task.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/director creating build/lib.macosx-10.3-fat-2.6/linkcheck/configuration copying linkcheck/configuration/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/configuration copying linkcheck/configuration/confparse.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/configuration creating build/lib.macosx-10.3-fat-2.6/linkcheck/cache copying linkcheck/cache/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/cache copying linkcheck/cache/addrinfo.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/cache copying linkcheck/cache/connection.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/cache copying linkcheck/cache/cookie.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/cache copying linkcheck/cache/robots_txt.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/cache copying linkcheck/cache/urlqueue.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/cache creating build/lib.macosx-10.3-fat-2.6/linkcheck/htmlutil copying linkcheck/htmlutil/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/htmlutil copying linkcheck/htmlutil/linkname.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/htmlutil copying linkcheck/htmlutil/linkparse.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/htmlutil creating build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/dnssec.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/e164.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/edns.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/entropy.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/exception.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/flags.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/inet.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/ipv4.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/ipv6.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/message.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/name.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/namedict.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/node.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/opcode.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/query.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/rcode.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/rdata.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/rdataclass.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/rdataset.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/rdatatype.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/renderer.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/resolver.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/reversename.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/rrset.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/tokenizer.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/tsig.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/tsigkeyring.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/ttl.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/update.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/version.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns copying linkcheck/dns/zone.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns creating build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes copying linkcheck/dns/rdtypes/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes copying linkcheck/dns/rdtypes/dsbase.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes copying linkcheck/dns/rdtypes/keybase.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes copying linkcheck/dns/rdtypes/mxbase.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes copying linkcheck/dns/rdtypes/nsbase.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes copying linkcheck/dns/rdtypes/sigbase.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes copying linkcheck/dns/rdtypes/txtbase.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes creating build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/AFSDB.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/CERT.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/CNAME.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/DLV.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/DNAME.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/DNSKEY.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/DS.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/GPOS.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/HINFO.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/HIP.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/ISDN.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/KEY.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/LOC.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/MX.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/NS.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/NSEC.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/NSEC3.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/NSEC3PARAM.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/NXT.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/PTR.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/RP.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/RRSIG.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/RT.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/SIG.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/SOA.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/SPF.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/SSHFP.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/TXT.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY copying linkcheck/dns/rdtypes/ANY/X25.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/ANY creating build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/A.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/AAAA.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/APL.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/DHCID.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/IPSECKEY.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/KX.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/NAPTR.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/NSAP.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/NSAP_PTR.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/PX.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/SRV.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN copying linkcheck/dns/rdtypes/IN/WKS.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/dns/rdtypes/IN creating build/lib.macosx-10.3-fat-2.6/linkcheck/HtmlParser copying linkcheck/HtmlParser/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/HtmlParser copying linkcheck/HtmlParser/htmllib.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/HtmlParser creating build/lib.macosx-10.3-fat-2.6/linkcheck/network copying linkcheck/network/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/network copying linkcheck/network/iputil.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/network creating build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/init.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/checker.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/contextmenu.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/help.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/linkchecker_rc.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/linkchecker_ui_main.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/linkchecker_ui_options.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/linkchecker_ui_progress.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/logger.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/options.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui copying linkcheck/gui/progress.py -> build/lib.macosx-10.3-fat-2.6/linkcheck/gui running build_ext error: No such file or directory [dhcp-58:~/Desktop/NewStuff/LinkChecker-5.3 2] richb%

wummel commented 11 years ago

Submitted by calvin

What Python version do you use? (try typing "python" in a terminal and copy the output)

wummel commented 11 years ago

Submitted by calvin

This Python bug report suggests setting the CC variable (has been fixed in Python 2.6.4): http://bugs.python.org/issue6957

wummel commented 11 years ago

Submitted by richb-hanover

It's Python 2.6.5...

% python Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information.

PS Good Sleuthing!

wummel commented 11 years ago

Submitted by calvin

Another thing: do you have the gcc C compiler installed? It should be installed with the OSX SDK.

wummel commented 11 years ago

Submitted by richb-hanover

Ahah! That was the clue. When I upgraded MacOSX 10.5.x to 10.6.4, I neglected to upgrade my version of XCode.

I ran that update (from version 3.1x to 3.2.4) and now LinkChecker 5.3 builds, installs, and runs. Thanks!

wummel commented 11 years ago

Submitted by calvin

Ok, closing.