On Wed, 02 May 2007 21:46:35 +0200 "Martin Petricek" <[EMAIL PROTECTED]> wrote:
> On Wed, May 02, 2007 at 03:36:26PM -0300, Alejandro Pulver wrote:
> > Hello.
> >
> > I was making a FreeBSD port (it's like a Gento .ebuild) of the
> > application, but I can't make (some parts of) it find the
> > headers/libraries which are in /usr/{local,X11R6}/{include,lib}. I am
> > passing CFLAGS/LDFLAGS environment variables to the configure script,
> > but they don't get into files generated by 'qmake' and I don't know how
> > to pass variables to it. The compilation fails here:
>
> If QT is installed properly, qmake should use correct CFLAGS (BTW it
> should be CXXFLAGS for C++) and LDFLAGS (at least theoretically :) to get
> all necessary libraries. Maybe the problem is with xpdf which have its own
> configure and most variables are not passed probably between them. This
> may need fixing.
> Which parts fail to compile?
>
See below.
> > QOutputDevPixmap.cpp:27:20: qimage.h: No such file or directory
>
> This is typical error when qmake from QT4 instead of QT3 is used.
> Can you re-run ./post_configure script in root of source tree and send me
> its output? Probably qmake was wrongly detected and qmake from qt4 was
> used (if qt3 make is not found at all, this can happen). PDFedit is not
> compatible with qt4 (now, but qt4 compatibility is on the way, half of the
> app already compile under qt4), since qt3 and qt4 are incompatible and
> many things are different between qt3 and qt4.
>
> BTW which freebsd version are you using? I may try to reproduce it here
> with the same settings ...
>
FreeBSD 6.2-RELEASE.
I have attached the port (work in progress), I could make it work with
environment variables and adding "include($$QMAKESPEC/qmake.conf)" to
config.pro.
It built but when I open a file it doesn't show text (only images) and
outputs this:
QSettings::sync: filename is null/empty
Error: Couldn't create a font for 'BAAAAA+TimesNewRomanPS-BoldMT'
Error: Couldn't create a font for 'CAAAAA+TimesNewRomanPSMT'
The last 2 lines are repeated many times.
This was with 0.3.0.
> > [...]
> > *** Error code 1
> > Stop in pdfedit-0.3.0/src/kpdf-kde-3.3.2.
> > *** Error code 1
> > Stop in pdfedit-0.3.0/src.
> > *** Error code 1
> > Stop in pdfedit-0.3.0.
> > *** Error code 1
> >
> > Do you know how can I pass that information to 'qmake'?
>
> I'm not sure, but I am afraid qmake ignores environment variables.
> Though if you edit config.pro.in.in (or config.pro generated from it by
> ./configure) in root of pdfedit source tree, you may try stuffing the
> variables there for testing. All project files (except those from qsa)
> include it. But I am afraid the problem will be in xpdf.
>
> BTW pdfedit 0.3.0 is old, use 0.3.1, many bugs was fixed in 0.3.1 ...
>
When I updated it to 0.3.1 there was a link error. The compilation
output is attached.
Thanks and Best Regards,
Ale
make.log.bz2
Description: application/bzip
pdfedit.shar
Description: Unix shell archive
signature.asc
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Pdfedit-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdfedit-support
