Re: Compiling 0.4.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



shige 03/18 2009
----------------

John Coppens <john@xxxxxxxxxxxx> wrote:
| make[1]: Leaving directory `/usr/local/src/graphics/ming-0.4.2/php_ext/tmp' 
| /usr/bin/ginstall -c -d ""/`php-config --extension-dir` 
| /usr/bin/ginstall -c -m 755 tmp/modules/ming.so" ""/`php-config --extension-dir`
| /bin/sh: -c: line 0: unexpected EOF while looking for matching `"' 
| /bin/sh: -c: line 1: syntax error: unexpected end of file
| make: *** [install] Error 2

I had the same problem. Please apply the following patch (or 
remove '"$(DESTDIR)"/' in your php_ext/Makefile by hand).

----- From Here -----
diff -uN ming-0.4.2/php_ext/Makefile.in.ORG ming-0.4.2/php_ext/Makefile.in
--- ming-0.4.2/php_ext/Makefile.in.ORG	Thu Sep 18 09:59:59 2008
+++ ming-0.4.2/php_ext/Makefile.in	Fri Mar  6 10:17:34 2009
@@ -358,8 +358,8 @@
 	rm -rf tmp
 
 install: all
-	$(INSTALL) -d "$(DESTDIR)"/`php-config --extension-dir`
-	$(INSTALL) -m 755 tmp/modules/ming.so" "$(DESTDIR)"/`php-config --extension-dir`
+	$(INSTALL) -d `php-config --extension-dir`
+	$(INSTALL) -m 755 tmp/modules/ming.so `php-config --extension-dir`
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
----- To Here -----

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige@xxxxxxxxxxxxxx   TEL(&FAX): +81-257-22-8161
+========================================================+

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Ming-users mailing list
Ming-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ming-users

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux