DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-10-07 17:25:36

carylewis2009
Member
Registered: 2009-07-17
Posts: 17

Trying to compile php on DNS-323

The 5.2.9 version doesn't seem to work reliably - I am trying to get crossfire to run, but when it attempts to pull a music file from firefly, the meta data isn't always available. Rather than trying to patch crossfire, I thought I would try to compile php 5.3.3 to see if the problem went away, but I can't get php to compile.

It complains that iconv is an unreferenced function. I compiled and installed libiconv but it still complains.

Can someone tell me the correct configure options to use to get php to compile / link under the fun_plug environment?

Thank you.

Offline

 

#2 2011-02-10 12:09:12

stefanth
Member
Registered: 2010-12-14
Posts: 63

Re: Trying to compile php on DNS-323

Hi

Normally you add the following argument "CFLAGS=-liconv" to the ./configure line if you get this error,
however PHP's configure script does not have that option, but it does have the option "--without-iconv" that will remove the problem.

/Stefan

Last edited by stefanth (2011-02-10 12:12:19)

Offline

 

#3 2011-02-11 01:06:01

DeLaCroix
Member
Registered: 2007-08-18
Posts: 91
Website

Re: Trying to compile php on DNS-323

Sync my repo und install a current PHP5.2 from there. iconv works i think wink

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB