./configure script not finding freetype/fontconfig in OSX

View: New views
3 Messages — Rating Filter:   Alert me  

./configure script not finding freetype/fontconfig in OSX

by Hisham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi I'm trying to run the ./configure script for openvrml-0.17.5 on Mac
 OS X,  but I get this error:

 "configure: error: fontconfig and FreeType are required for rendering
 Text nodes."

 I've installed freetype and fontconfig via macports, and made sure my
 LDFLAGS environment variable has "-L/opt/local/lib", but I still get
 the error.

 I do have the libraries in /opt/local/lib:

 $ ls /opt/local/lib/*freetype*

 -rwxr-xr-x  2 root  admin  514204 Mar  8 21:43 libfreetype.6.3.16.dylib
 lrwxr-xr-x  1 root  admin      24 Mar  8 21:43 libfreetype.6.dylib ->
 libfreetype.6.3.16.dylib
 -rw-r--r--  2 root  admin  602168 Mar  8 21:43 libfreetype.a
 lrwxr-xr-x  1 root  admin      24 Mar  8 21:43 libfreetype.dylib ->
 libfreetype.6.3.16.dylib
 -rwxr-xr-x  2 root  admin     855 Mar  8 21:43 libfreetype.la


 $ ls -all *fontconfig*
 -rwxr-xr-x  2 root  admin  184752 Mar  8 21:44 libfontconfig.1.3.0.dylib
 lrwxr-xr-x  1 root  admin      25 Mar  8 21:44 libfontconfig.1.dylib
 -> libfontconfig.1.3.0.dylib
 -rw-r--r--  2 root  admin  247424 Mar  8 21:44 libfontconfig.a
 lrwxr-xr-x  1 root  admin      25 Mar  8 21:44 libfontconfig.dylib ->
 libfontconfig.1.3.0.dylib
 -rwxr-xr-x  2 root  admin     967 Mar  8 21:44 libfontconfig.la

 Any ideas?

 thanks,
 Hisham

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
openvrml-develop mailing list
openvrml-develop@...
https://lists.sourceforge.net/lists/listinfo/openvrml-develop

Re: ./configure script not finding freetype/fontconfig in OSX

by Braden McDaniel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2008-03-08 at 23:23 -0500, Hisham wrote:
> Hi I'm trying to run the ./configure script for openvrml-0.17.5 on Mac
>  OS X,  but I get this error:
>
>  "configure: error: fontconfig and FreeType are required for rendering
>  Text nodes."
>
>  I've installed freetype and fontconfig via macports, and made sure my
>  LDFLAGS environment variable has "-L/opt/local/lib", but I still get
>  the error.

[snip]

>  Any ideas?

OpenVRML's configure script looks for pkg-config metadata to determine
the availability of FreeType and fontconfig.  These files end in ".pc"
and are generally stored in ${prefix}/lib/pkgconfig.  You may need to
make this directory available to pkg-config by setting PKG_CONFIG_PATH.

If that doesn't help, please post your config.log file.

--
Braden McDaniel                           e-mail: <braden@...>
<http://endoframe.com>                    Jabber: <braden@...>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
openvrml-develop mailing list
openvrml-develop@...
https://lists.sourceforge.net/lists/listinfo/openvrml-develop

Re: ./configure script not finding freetype/fontconfig in OSX

by Hisham-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Never mind...I figured it out. pkgconfig was not installed on my
system. A 'sudo port install pkgconfig' fixed the issue. The
./configure script should probably be modified to make that error more
obvious. (I would do that, but I'm a relative newbie and already spent
too much time banging my head figuring this issue out...)

Thanks!
Hisham

On Sat, Mar 8, 2008 at 11:23 PM, Hisham <halshura@...> wrote:

> Hi I'm trying to run the ./configure script for openvrml-0.17.5 on Mac
>   OS X,  but I get this error:
>
>   "configure: error: fontconfig and FreeType are required for rendering
>   Text nodes."
>
>   I've installed freetype and fontconfig via macports, and made sure my
>   LDFLAGS environment variable has "-L/opt/local/lib", but I still get
>   the error.
>
>   I do have the libraries in /opt/local/lib:
>
>   $ ls /opt/local/lib/*freetype*
>
>   -rwxr-xr-x  2 root  admin  514204 Mar  8 21:43 libfreetype.6.3.16.dylib
>   lrwxr-xr-x  1 root  admin      24 Mar  8 21:43 libfreetype.6.dylib ->
>   libfreetype.6.3.16.dylib
>   -rw-r--r--  2 root  admin  602168 Mar  8 21:43 libfreetype.a
>   lrwxr-xr-x  1 root  admin      24 Mar  8 21:43 libfreetype.dylib ->
>   libfreetype.6.3.16.dylib
>   -rwxr-xr-x  2 root  admin     855 Mar  8 21:43 libfreetype.la
>
>
>   $ ls -all *fontconfig*
>   -rwxr-xr-x  2 root  admin  184752 Mar  8 21:44 libfontconfig.1.3.0.dylib
>   lrwxr-xr-x  1 root  admin      25 Mar  8 21:44 libfontconfig.1.dylib
>   -> libfontconfig.1.3.0.dylib
>   -rw-r--r--  2 root  admin  247424 Mar  8 21:44 libfontconfig.a
>   lrwxr-xr-x  1 root  admin      25 Mar  8 21:44 libfontconfig.dylib ->
>   libfontconfig.1.3.0.dylib
>   -rwxr-xr-x  2 root  admin     967 Mar  8 21:44 libfontconfig.la
>
>   Any ideas?
>
>   thanks,
>   Hisham
>



--
Hisham Al-Shurafa
http://alshurafa.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
openvrml-develop mailing list
openvrml-develop@...
https://lists.sourceforge.net/lists/listinfo/openvrml-develop