Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-05-2005, 11:26 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Question Trying to install ming for use with PHP

Heya all!

I have Suse 9.1 with PHP 4.3.7/Apache2 installed.

My php build looks like this:

'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-exif' '--with-gd' '--with-jpeg' '--with-jpeg-dir=/usr/local/lib' '--with-tiff-dir=/usr/lib' '--with-png-dir=/usr/lib' '--enable-track-vars' '--with-xml' '--with-zlib-dir=/usr/local/lib' '--with-mhash' '--with-iconv' '--with-ttf' '--with-freetype' '--with-freetype-dir=/usr/lib' '--with-ming-dir=/usr/lib' '--enable-ming'

I know there is some bogus stuff in it but at least the ./configure ran smoothly without giving me any errors.

the problem is, that I cannot get ming to work with php.

I downloaded the latest ditribution at and trying to install it via make/make install. It exists with the following:

make install
install -d /usr/lib
install -d /usr/include
install -m 0644 src/ming.h /usr/include
install -m 0644 src/ming_config.h /usr/include
install -m 0644 mingpp.h /usr/include
make -C src dynamic
make[1]: Entering directory `/tmp/ming/ming-0.3beta1/src'
cd blocks && make
make[2]: Entering directory `/tmp/ming/ming-0.3beta1/src/blocks'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/ming/ming-0.3beta1/src/blocks'
cd actioncompiler && make
make[2]: Entering directory `/tmp/ming/ming-0.3beta1/src/actioncompiler'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/ming/ming-0.3beta1/src/actioncompiler'
gcc -O2 -Wall -I. blocklist.o displaylist.o fill.o font_util.o ming.o movie.o movieclip.o position.o shape_cubic.o shape_util.o text_util.o actioncompiler/compile.o actioncompiler/ actioncompiler/lex.swf4.o actioncompiler/ actioncompiler/lex.swf5.o actioncompiler/compileaction.o actioncompiler/assembler.o -lm -lz -lz -lungif -lpng12 blocks/*.o -shared -o
cp ..
make[1]: Leaving directory `/tmp/ming/ming-0.3beta1/src'
install -m 0644 /usr/lib/
install: cannot stat `': No such file or directory
make: *** [install-dynamic] Error 1

then I installed the rpm-packages (ming and libming) succesfully using Webmin but when I try to build php again it tells me that libming.(a|so) could not be found and that I should reinstall ming again, which doesn't work as written above.

What am I doing wrong?
when I do a "find / -name *ming*" on the shell I get these results among others:


so the directive --with-ming=/usr/lib when building the php conf should work, or am I totally wrong? well.... indeed, it doesn't work...

any ideas? I'm quite desperate right now as I really would like to use the SWF-Functions within PHP.

Thanks in advance!
Old 01-06-2005, 05:01 AM   #2
LQ Newbie
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What to type in apt-get install to install mysql PHP libraries sarajevo Debian 1 09-29-2005 05:40 AM
installing ming with python support on suse 9.0 xenithi Programming 0 01-17-2005 10:34 PM
How to install php ! fat_anis Linux - Software 2 08-19-2003 05:31 AM
Can't install PHP gt3740 Linux - General 3 06-05-2002 07:41 AM
problems compiling ming for php suprabeener Linux - Newbie 4 10-31-2001 04:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration