LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-05-2005, 12:26 PM   #1
kingfisher
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 sourceforge.net 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/swf4compiler.tab.o actioncompiler/lex.swf4.o actioncompiler/swf5compiler.tab.o actioncompiler/lex.swf5.o actioncompiler/compileaction.o actioncompiler/assembler.o -lm -lz -lz -lungif -lpng12 blocks/*.o -shared -o libming.so
cp libming.so ..
make[1]: Leaving directory `/tmp/ming/ming-0.3beta1/src'
install -m 0644 libming.so.0.3beta1 /usr/lib/
install: cannot stat `libming.so.0.3beta1': 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:

****************
/usr/lib/libming.so.0
/usr/lib/libming.so.0.2
/usr/lib/libming.so.0.3
****************

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!
Bernhard
 
Old 01-06-2005, 06:01 AM   #2
kingfisher
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
anyone?
 
  


Reply


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 06:40 AM
installing ming with python support on suse 9.0 xenithi Programming 0 01-17-2005 11:34 PM
How to install php ! fat_anis Linux - Software 2 08-19-2003 06:31 AM
Can't install PHP gt3740 Linux - General 3 06-05-2002 08:41 AM
problems compiling ming for php suprabeener Linux - Newbie 4 10-31-2001 05:23 PM


All times are GMT -5. The time now is 05:53 AM.

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