Bugs item #1578158, was opened at 2006-10-16 21:35
Message generated for change (Comment added) made by ringerc
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=790130&aid=1578158&group_id=154028

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mrdocs (mrdocs)
Assigned to: Nobody/Anonymous (nobody)
Summary: podofo browser won't build on suse 10.1

Initial Comment:
Note I needed to manually regenerate the qmake project
files before qmake -makefile would refresh the makefiles

linux:~/build/podofobrowser-0.4> locate fontconfig.h
/usr/include/fontconfig/fontconfig.h

 make
g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -O2
-fno-strict-aliasing -Wall -W -march=i586 -mtune=i686
-fmessage-length=0 -D_FORT
IFY_SOURCE=2 -O2 -fno-strict-aliasing  -DQT_NO_DEBUG
-DQT_SHARED -DQT_TABLET_SUP
PORT -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default
-I. -I. -Isrc -I/usr/inc
lude -I/usr/lib/qt3/include -o main.o src/main.cpp
In file included from
/usr/local/include/podofo/PdfDocument.h:29,
                 from
/usr/local/include/podofo/podofo.h:45,
                 from src/podofobrowser.h:26,
                 from src/main.cpp:23:
/usr/include/ft2build.h:56:38: error:
freetype/config/ftheader.h: No such file o
r directory
In file included from
/usr/local/include/podofo/podofo.h:45,
                 from src/podofobrowser.h:26,
                 from src/main.cpp:23:
/usr/local/include/podofo/PdfDocument.h:30:10: error:
#include expects "FILENAME
" or <FILENAME>
In file included from
/usr/local/include/podofo/podofo.h:50,
                 from src/podofobrowser.h:26,
                 from src/main.cpp:23:
/usr/local/include/podofo/PdfFontMetrics.h:26:24:
error: fontconfig.h: No such f
ile or directory
/usr/local/include/podofo/PdfFontMetrics.h:30:10:
error: #include expects "FILEN
AME" or <FILENAME>
/usr/local/include/podofo/PdfDocument.h:356: error:
‘FT_Library’ does not name a
 type
/usr/local/include/podofo/PdfFontMetrics.h:47: error:
expected `)' before ‘*’ to
ken
/usr/local/include/podofo/PdfFontMetrics.h:54: error:
expected `)' before ‘*’ to
ken
/usr/local/include/podofo/PdfFontMetrics.h:238: error:
‘FcConfig’ has not been d
eclared
/usr/local/include/podofo/PdfFontMetrics.h:248: error:
‘FT_Face’ does not name a
 type
/usr/local/include/podofo/PdfFontMetrics.h:249: error:
expected ‘;’ before ‘*’ t
oken
src/main.cpp: In function ‘int main(int, char**)’:
src/main.cpp:28: warning: unused variable ‘mw’
make: *** [main.o] Error 1
[EMAIL PROTECTED]:~/build/podofobrowser-0.4>
/usr/lib/qt3/bin/qmake -project
[EMAIL PROTECTED]:~/build/podofobrowser-0.4>
/usr/lib/qt3/bin/qmake
[EMAIL PROTECTED]:~/build/podofobrowser-0.4> cd ./src/
[EMAIL PROTECTED]:~/build/podofobrowser-0.4/src>
/usr/lib/qt3/bin/qmake -project
[EMAIL PROTECTED]:~/build/podofobrowser-0.4/src>
/usr/lib/qt3/bin/qmake
[EMAIL PROTECTED]:~/build/podofobrowser-0.4/src> make
g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0
-D_FORTIFY_SOURCE=2 -O2
-fno-strict-aliasing -Wall -W -march=i586 -mtune=i686
-fmessage-length=0 -D_FORT
IFY_SOURCE=2 -O2 -fno-strict-aliasing  -DQT_NO_DEBUG
-DQT_SHARED -DQT_TABLET_SUP
PORT -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default
-I. -I. -I/usr/include -
I/usr/lib/qt3/include -o main.o main.cpp
In file included from
/usr/local/include/podofo/PdfDocument.h:29,
                 from
/usr/local/include/podofo/podofo.h:45,
                 from podofobrowser.h:26,
                 from main.cpp:23:
/usr/include/ft2build.h:56:38: error:
freetype/config/ftheader.h: No such file o
r directory
In file included from
/usr/local/include/podofo/podofo.h:45,
                 from podofobrowser.h:26,
                 from main.cpp:23:
/usr/local/include/podofo/PdfDocument.h:30:10: error:
#include expects "FILENAME
" or <FILENAME>
In file included from
/usr/local/include/podofo/podofo.h:50,
                 from podofobrowser.h:26,
                 from main.cpp:23:
/usr/local/include/podofo/PdfFontMetrics.h:26:24:
error: fontconfig.h: No such f                      
ile or directory
/usr/local/include/podofo/PdfFontMetrics.h:30:10:
error: #include expects "FILEN                      
AME" or <FILENAME>
/usr/local/include/podofo/PdfDocument.h:356: error:
‘FT_Library’ does not name a                        type
/usr/local/include/podofo/PdfFontMetrics.h:47: error:
expected `)' before ‘*’ to                       ken
/usr/local/include/podofo/PdfFontMetrics.h:54: error:
expected `)' before ‘*’ to                       ken
/usr/local/include/podofo/PdfFontMetrics.h:238: error:
‘FcConfig’ has not been d                       eclared
/usr/local/include/podofo/PdfFontMetrics.h:248: error:
‘FT_Face’ does not name a                        type
/usr/local/include/podofo/PdfFontMetrics.h:249: error:
expected ‘;’ before ‘*’ t                       oken
main.cpp: In function ‘int main(int, char**)’:
main.cpp:28: warning: unused variable ‘mw’
make: *** [main.o] Error 1
[EMAIL PROTECTED]:~/build/podofobrowser-0.4/src>



----------------------------------------------------------------------

Comment By: Craig Ringer (ringerc)
Date: 2007-07-30 08:47

Message:
Logged In: YES 
user_id=639504
Originator: NO

The freetype finder issues were fixed quite a while ago now. Please close.

----------------------------------------------------------------------

Comment By: mrdocs (mrdocs)
Date: 2006-12-09 21:28

Message:
Logged In: YES 
user_id=971423
Originator: YES

svn podofo and podofobrowser qt4port now build and work  with cvs cmake
and an IRC chat with ringerc walked me through some build issues which we
found. The build issue in this bug is probably finding freetype 1.3.1
headers instead of freetype2 headers. 

----------------------------------------------------------------------

Comment By: Craig Ringer (ringerc)
Date: 2006-12-05 11:15

Message:
Logged In: YES 
user_id=639504
Originator: NO

The qt 4 port won't be working for a while yet. I'm having issues with
qt4's uic (it's TOTALLY different) and with uic3 on the old ui files as
well.

Try setting your CPATH manually before running qmake and see if that helps
with the build error.

----------------------------------------------------------------------

Comment By: Craig Ringer (ringerc)
Date: 2006-12-04 18:04

Message:
Logged In: YES 
user_id=639504
Originator: NO

Correction to last - it looks like I don't have it working on *nix yet.
Working on it now.

----------------------------------------------------------------------

Comment By: Craig Ringer (ringerc)
Date: 2006-12-04 16:31

Message:
Logged In: YES 
user_id=639504
Originator: NO

(last comment was also me) 

It's also possible that you might have better luck with the CMake-ified
qt4 port I've been working on:

svn co https://svn.sourceforge.net/svnroot/podofo/podofobrowser/qt4port
podofobrowser_qt4

... since I know you're familiar with CMake from working on Scribus.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-12-04 16:26

Message:
Logged In: NO 

mrdocs,

Your include path appears to be missing ft2build.h and/or the directory
containing freetype/freetype.h (often "/usr/include/freetype2 or
/usr/include/freetype, ie a full path of
/usr/include/freetype2/freetype/freetype.h or
/usr/include/freetype/freetype/freetype.h ).

----------------------------------------------------------------------

Comment By: Dominik Seichter (domseichter)
Date: 2006-10-17 00:55

Message:
Logged In: YES 
user_id=203039

Did you rebuild the makefiles using qmake?

Anyways, I have to change to an automake based buildsystem 
for one of the next releases, to make building 
podofobrowser more reliable.

Thanks for reporting this issue.

best regards,

  Dom

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=790130&aid=1578158&group_id=154028

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to