Skip to content
This repository has been archived by the owner. It is now read-only.

Getting error when compiling on Tiger #229

Closed
macosforgebot opened this issue Jul 2, 2008 · 5 comments
Closed

Getting error when compiling on Tiger #229

macosforgebot opened this issue Jul 2, 2008 · 5 comments

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented Jul 2, 2008

jp.hogne@… originally submitted this as ticket:289

  • Cc: jp.hogne@…

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

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 2, 2008

@m0rgen originally submitted this as attachment:run.diff:⁠ticket:289


patch for 'run' to disable compiling for 64-bit

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 2, 2008

@m0rgen originally submitted this as comment:1:⁠ticket:289


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.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 5, 2008

jp.hogne@… originally submitted this as comment:2:⁠ticket:289


Replying to 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

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 6, 2008

@m0rgen originally submitted this as comment:3:⁠ticket:289


The easiest fix is probably to remove the libevent directory that "run -s" created, then re-run "run -s".

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 17, 2008

@wsanchez originally submitted this as comment:4:⁠ticket:289

  • Status changed from new to closed
  • Resolution set to fixed

I think I've cleaned all of this up in trunk (sorry for the bother). Re-open in otherwise. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.