Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#13066 closed defect (duplicate)

apache2 port failed to build on Mac OS X 10.5 Leopard

Reported by: akhenakh (Fabrice Aneche) Owned by: imajes@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: imajes@…, akhenakh (Fabrice Aneche), 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 (10)

comment:1 Changed 16 years ago by nox@…

Cc: imajes@… akh@… nox@… added
Milestone: Port Bugs

comment:2 Changed 16 years ago by nox@…

Owner: changed from macports-dev@… to imajes@…

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Apache2 port failed to build on Leopardapache2 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.

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: tek.katu@… added

comment:5 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

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.

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: closedreopened

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.

comment:7 Changed 16 years ago by blb@…

Cc: tobias@… added

Cc reporter of dup ticket #16513.

comment:8 Changed 15 years ago by vpribish@…

Cc: vpribish@… added

Cc Me!

comment:9 Changed 15 years ago by blb@…

Resolution: duplicate
Status: reopenedclosed

Dup of #13930.

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.