[CalendarServer] #289: Getting error when compiling on Tiger
#289: Getting error when compiling on Tiger ------------------------------+--------------------------------------------- Reporter: jp.hogne@mac.com | Owner: wsanchez@apple.com Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Version: Severity: Other | Keywords: ------------------------------+--------------------------------------------- Hi, I downloaded the calendar server package and installed it on my Tiger PPC mac (with latest version of developer tools installed). When launching the "run" command I get the following error: checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Do you have any hint for me? Thanks in advance JPH -- Ticket URL: <https://trac.calendarserver.org/ticket/289> CalendarServer </> HTTP/WebDAV/CalDAV Server
#289: Getting error when compiling on Tiger ------------------------------+--------------------------------------------- Reporter: jp.hogne@mac.com | Owner: sagen@apple.com Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Version: Severity: Other | Resolution: Keywords: | ------------------------------+--------------------------------------------- Changes (by sagen@apple.com): * owner: wsanchez@apple.com => sagen@apple.com Comment: The 'run' script always tries to compile for 64-bit; we probably need to make this conditional. Until then, you can remove the '-m64' CFLAGS as the attached patch shows. -- Ticket URL: <https://trac.calendarserver.org/ticket/289#comment:1> CalendarServer </> HTTP/WebDAV/CalDAV Server
#289: Getting error when compiling on Tiger ------------------------------+--------------------------------------------- Reporter: jp.hogne@mac.com | Owner: sagen@apple.com Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Version: Severity: Other | Resolution: Keywords: | ------------------------------+--------------------------------------------- Comment (by jp.hogne@mac.com): Replying to [comment:1 sagen@apple.com]:
The 'run' script always tries to compile for 64-bit; we probably need to make this conditional. Until then, you can remove the '-m64' CFLAGS as the attached patch shows. Hi,
Thanks, this works; or at least can compile using gcc. Now, a few steps further, I get the following message: checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/ If it's already installed, specify its path using --with- libevent=/dir/ However there *is* a libevent directory (libevent-1.4.4-stable) created earlier on during the "run -s" step, I assume. Do you have any hint here as well? Many thanks jp -- Ticket URL: <https://trac.calendarserver.org/ticket/289#comment:2> CalendarServer </> HTTP/WebDAV/CalDAV Server
#289: Getting error when compiling on Tiger ------------------------------+--------------------------------------------- Reporter: jp.hogne@mac.com | Owner: sagen@apple.com Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Version: Severity: Other | Resolution: Keywords: | ------------------------------+--------------------------------------------- Comment (by sagen@apple.com): The easiest fix is probably to remove the libevent directory that "run -s" created, then re-run "run -s". -- Ticket URL: <https://trac.calendarserver.org/ticket/289#comment:3> CalendarServer </> HTTP/WebDAV/CalDAV Server
#289: Getting error when compiling on Tiger ------------------------------+--------------------------------------------- Reporter: jp.hogne@mac.com | Owner: sagen@apple.com Type: Defect | Status: closed Priority: 5: Not set | Milestone: Component: Calendar Server | Version: Severity: Other | Resolution: fixed Keywords: | ------------------------------+--------------------------------------------- Changes (by wsanchez@apple.com): * status: new => closed * resolution: => fixed Comment: I think I've cleaned all of this up in trunk (sorry for the bother). Re- open in otherwise. Thanks. -- Ticket URL: <https://trac.calendarserver.org/ticket/289#comment:4> CalendarServer </> HTTP/WebDAV/CalDAV Server
participants (1)
-
CalendarServer