jun-zhang / fop-miniscribus

Automatically exported from code.google.com/p/fop-miniscribus
1 stars 0 forks source link

Compile error on 2.0 #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. su port install libxslt libxml2 qt4-mac 
2. cd scribe
3. qmake-mac && make

What is the expected output? What do you see instead?
gcc -c -pipe -Os -fPIC -w -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -
DOPENGLINITYES -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -
DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4-
mac/mkspecs/macx-g++ -I. -I/opt/local/libexec/qt4-
mac/lib/QtCore.framework/Versions/4/Headers 
-I/opt/local/libexec/qt4-mac/include/QtCore -
I/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/Headers -
I/opt/local/libexec/qt4-mac/include/QtNetwork -I/opt/local/libexec/qt4-
mac/lib/QtGui.framework/Versions/4/Headers 
-I/opt/local/libexec/qt4-mac/include/QtGui -
I/opt/local/libexec/qt4-mac/lib/QtOpenGL.framework/Versions/4/Headers -
I/opt/local/libexec/qt4-mac/include/QtOpenGL -I/opt/local/libexec/qt4-
mac/lib/QtXml.framework/Versions/4/Headers 
-I/opt/local/libexec/qt4-mac/include/QtXml -
I/opt/local/libexec/qt4-mac/lib/QtSvg.framework/Versions/4/Headers -
I/opt/local/libexec/qt4-mac/include/QtSvg -I/opt/local/libexec/qt4-mac/include 
-I. -Iapng -
Iooo -Itidy -Izip -I../include -Iapng -Itidy -Izip -Iooo -Ixslt 
-I/usr/include/libxslt -
I/usr/include/libxml2/libxml -I/usr/include/libxml2 -I/opt/local/include -
I/opt/local/include/libxml2 -I/opt/local/include/libxslt 
-I/opt/local/include/libxml2/libxml -
I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -
I/System/Library/Frameworks/AGL.framework/Headers -I. 
-F/opt/local/libexec/qt4-mac/lib -o 
pnggccrd.o apng/pnggccrd.c
{standard input}:19:suffix or operands invalid for `push'
{standard input}:20:suffix or operands invalid for `push'
{standard input}:21:suffix or operands invalid for `push'
{standard input}:22:suffix or operands invalid for `pushf'
{standard input}:23:suffix or operands invalid for `pop'
{standard input}:26:suffix or operands invalid for `push'
{standard input}:27:suffix or operands invalid for `popf'
{standard input}:28:suffix or operands invalid for `pushf'
{standard input}:29:suffix or operands invalid for `pop'
{standard input}:30:suffix or operands invalid for `push'
{standard input}:31:suffix or operands invalid for `popf'
{standard input}:49:suffix or operands invalid for `pop'
{standard input}:50:suffix or operands invalid for `pop'
{standard input}:51:suffix or operands invalid for `pop'
make[1]: *** [pnggccrd.o] Error 1
make: *** [sub-modules-make_default] Error 2

What version of the product are you using? On what operating system?
2.0 beta (from tarball) compiling on Snow Leopard (10.6.2)

Please provide any additional information below.
Googling the error it looks like it has to do with the 64-bit architecture, but 
that's as far as I can 
get :(

Incidentally, 'qmake' from macports is called 'qmake-mac' and is in 
/opt/local/bin. Might be 
worth updating the INSTALL.txt file.

I tried running the configure script, but had to add 'qmake-mac' to the names 
variable line 178, 
and give it Qt path, like so:

./configure --qtdir=/opt/local/bin

Original issue reported on code.google.com by matt...@gmail.com on 24 Nov 2009 at 5:16