2010/8/10 a qi <free4mach...@gmail.com>:
> HI, ALL
>
> hiphop-php needs cmake to compile,  but I got this error  when  running  make 
> :

May the right place to ask for that would be the  HipHop PHP Mailing list?
http://groups.google.com/group/hiphop-php-dev/?pli=1

----------------------------------------------------------
>
> And  I google "undefined reference to `libiconv_open'",  all the
> answer is    " add   '-liconv'   to   EXTRA_LIBS=...      or
> LDFLAGS=... "  ,  But I can not find  anything about  "EXTRA_LIBS
> or   LDFLAGS"  :
>
>         the follow  command got  nothing.
>         [r...@sys-test-02 hiphop-php]# find . -type f -exec grep
> -Hni  --col "EXTRA_LIBS" {} \;

Because may be this is not the way to do it with CMake.

Now if you look into:

hiphop-php/CMake/HPHPFindLibs.cmake

you'll see that the iconv libs is searched with FIND_LIBRARY (ICONV_LIB iconv)
[only  if on MacOS] then later used for in the custom hphp_link target.

All this is really some specific choice of HipHop PHP developers,
and does not seems CMake specific.

You should ask HipHop PHP developers first.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to