Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13066 (closed defect: duplicate)

Opened 13 months ago

Last modified 4 weeks ago

apache2 port failed to build on Mac OS X 10.5 Leopard

Reported by: akh@… Owned by: imajes@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.5.0
Keywords: Cc: imajes@…, akh@…, nox@…, tek.katu@…, tobias@…, vpribish@…
Port:

Description

When compiling apache2 on Leopard you get this

Undefined symbols:
  "_ap_ugly_hack", referenced from:
      _ap_ugly_hack$non_lazy_ptr in libmain.a(main.o)
  "_ap_prelinked_module_symbols", referenced from:
      _ap_prelinked_module_symbols$non_lazy_ptr in libmain.a(core.o)
  "_ap_prelinked_modules", referenced from:
      _ap_prelinked_modules$non_lazy_ptr in libmain.a(main.o)
      _ap_prelinked_modules$non_lazy_ptr in libmain.a(config.o)
  "_ap_http_input_filter_handle", referenced from:
      _ap_http_input_filter_handle$non_lazy_ptr in libmain.a(protocol.o)
  "_ap_preloaded_modules", referenced from:
      _ap_preloaded_modules$non_lazy_ptr in libmain.a(config.o)

Simply install gawk port install gawk, then port clean apache2, and port install apache2. Don't know really why, maybe the awk in Tiger was a different awk, and is has changed in Leopard ...

Solution: dependencies on gawk ?

Change History

Changed 13 months ago by nox@…

  • cc imajes@…, akh@…, nox@… added
  • milestone set to Port Bugs

Changed 13 months ago by nox@…

  • owner changed from macports-dev@… to imajes@…

Changed 13 months ago by ryandesign@…

  • summary changed from Apache2 port failed to build on Leopard to apache2 port failed to build on Mac OS X 10.5 Leopard

ncursesw has also needed to be updated to depend on gawk. See #13053. Leopard's gawk is weird apparently.

Changed 12 months ago by ryandesign@…

  • cc tek.katu@… added

Changed 12 months ago by ryandesign@…

  • status changed from new to closed
  • resolution set to fixed

Since we haven't heard from the maintainer, but we continue to get reports of this problem on the mailing list, I'm committing the fix in r32173.

Changed 7 months ago by ryandesign@…

  • status changed from closed to reopened
  • resolution fixed deleted

Undid r32173 in r36878. gawk is not necessary nor sufficient to fix this issue. This is just another instance of the Leopard environment variable issue, which should now be fixed in MacPorts trunk.

Changed 3 months ago by blb@…

  • cc tobias@… added

Cc reporter of dup ticket #16513.

Changed 2 months ago by vpribish@…

  • cc vpribish@… added

Cc Me!

Changed 4 weeks ago by blb@…

  • status changed from reopened to closed
  • resolution set to duplicate

Dup of #13930.

Note: See TracTickets for help on using tickets.