Hi Xu,
My guess is that the QTDIR variable is not being seen by qsa. Instead of
appending it to your configure command, try setting it externally. For
example, in your terminal, enter the following two lines
QTDIR="/usr/share/qt3"
export QTDIR
Then instead of running ./configure QTDIR=/usr/share/qt3
--enable-portability-flags=no
run simply ./configure
Hopefully that will take care of the other error as well.
Pasted below are the previous posts. Sorry for the ugly paste (I copied
from the archives because I just signed up).
Best,
Scott Kostyshak
------
Scott Kostyshak
Economics
[Pdfedit-support] pdfedit building
From: Xu Wang - 2011-04-15 23:38
Attachments: Message as HTML
I am having trouble building pdfedit and have the same errors as posted
on:
http://www.mail-archive.com/pdfedit-support@...>
Could you please send me the required files to overcome the errors?
Thank you so much!
Best,
Xu Wang
Re: [Pdfedit-support] pdfedit building
From: Michal Hocko - 2011-04-16 11:52
Hi,
On Fri, Apr 15, 2011 at 07:38:02PM -0400, Xu Wang wrote:
> I am having trouble building pdfedit and have the same
errors as posted on:
>
> http://www.mail-archive.com/pdfedit-support@...> [1]
>
> Could you please send me the required files to overcome the
errors?
Could you try the current CVS version and use
--enable-poratability-flags=no
as configure parameter.
> Thank you so much!
>
> Best,
>
> Xu Wang
--
Michal Hocko
Re: [Pdfedit-support] pdfedit building
From: Xu Wang - 2011-04-16 16:33
Attachments: Message as HTML
Michal,
Please note that my logfile was too large and thus it is
pending approval.
In the meantime, I will paste the message in that email below
and send an
email to your gmail with the log.
Thank you for the quick reply. I receive the same error.
Attached is my log
file.
I clicked on "Download GNU Tarball" from here:
http://pdfedit.cvs.sourceforge.net/pdfedit/ [2]
I then ran the commands and received the output in pdfedit.log
Here was my configure command:
./configure QTDIR=/usr/share/qt3 --enable-portability-flags=no
Should I use qt3 or qt4? I get the error with both.
Thank you,
Xu Wang
On Sat, Apr 16, 2011 at 7:51 AM, Michal Hocko wrote:
> Hi,
>
> On Fri, Apr 15, 2011 at 07:38:02PM -0400, Xu Wang wrote:
> > I am having trouble building pdfedit and have the same
errors as posted
> on:
> >
> >
> http://www.mail-archive.com/pdfedit-support@...> [3]
> >
> > Could you please send me the required files to overcome
the errors?
>
> Could you try the current CVS version and use
> --enable-poratability-flags=no
> as configure parameter.
>
> > Thank you so much!
> >
> > Best,
> >
> > Xu Wang
>
> --
> Michal Hocko
>
>
>
------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial
Workload
> Consolidation -- Increasing the use of server virtualization
is a top
> priority.Virtualization can reduce costs, simplify
management, and improve
> application availability and disaster protection. Learn more
about boosting
> the value of server virtualization.
http://p.sf.net/sfu/vmware-sfdev2dev [4]
> _______________________________________________
> Pdfedit-support mailing list
> Pdfedit-support@...
> https://lists.sourceforge.net/lists/listinfo/pdfedit-support
>
Re: [Pdfedit-support] pdfedit building
From: Xu Wang - 2011-04-16 16:30
Attachments: Message as HTML pdfedit.log
Re: [Pdfedit-support] pdfedit building
From: Michal Hocko - 2011-04-17 14:45
On Sat, Apr 16, 2011 at 12:33:04PM -0400, Xu Wang wrote:
> Michal,
Hi,
>
> Please note that my logfile was too large and thus it is
pending approval.
> In the meantime, I will paste the message in that email
below and send an
> email to your gmail with the log.
>
> Thank you for the quick reply. I receive the same error.
Attached is my log
> file.
>
> I clicked on "Download GNU Tarball" from here:
> http://pdfedit.cvs.sourceforge.net/pdfedit/ [5]
This should be the current CVS snapshot.
>
> I then ran the commands and received the output in
pdfedit.log
This is strange because I do not see any compilation error in
the log.
There are 2 errors:
Using qmake: /usr/share/qt3/bin/qmake
make[1]: ***
[/home/xuwang/source-builds/pdfedits/1/pdfedit/pdfedit/src/qsa/Makefile.qsa]
Error 1
ar cqs libxpdf.a Annot.o Array.o BuiltinFont.o
BuiltinFontTables.o CMap.o Catalog.o CharCodeToUnicode.o Decrypt.o Dict.o
Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o
GlobalParams.o ImageOutputDev.o JArithmeticDecoder.o JBIG2Stream.o
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o
PDFDocEncoding.o PSOutputDev.o PSTokenizer.o Page.o Parser.o
PreScanOutputDev.o SecurityHandler.o SplashOutputDev.o Stream.o
TextOutputDev.o UnicodeMap.o UnicodeTypeTable.o XRef.o XpdfPluginAPI.o
encrypt_utils.o
make[3]: Leaving directory
`/home/xuwang/source-builds/pdfedits/1/pdfedit/pdfedit/src/xpdf/xpdf'
make[2]: Leaving directory
`/home/xuwang/source-builds/pdfedits/1/pdfedit/pdfedit/src/xpdf'
make[1]: Leaving directory
`/home/xuwang/source-builds/pdfedits/1/pdfedit/pdfedit/src'
make: *** [source] Error 2
The first one looks like a qmake issue when it is not able to
create
src/qsa/Makefile.qsa for some reason which is not obvious from
the log.
The second one is probably just a result of the first failure.
Please note that we are using parallel building so the
compilation
continues even if there is an error in other branch of
execution.
I would try to go into src directory and
make qsa
It will most probably fails but it would be interesting to see
why. Check out whether src/qsa/Makefile.qsa has been created.
If not
then try to tweak src/qsa/configure script to print something
useful.
>
> Here was my configure command:
> ./configure QTDIR=/usr/share/qt3
--enable-portability-flags=no
>
> Should I use qt3 or qt4? I get the error with both.
qt3.
--
Michal Hocko
Links:
------
[1] http://www.mail-archive.com/pdfedit-support@...>
[2] http://pdfedit.cvs.sourceforge.net/pdfedit/
[3] http://www.mail-archive.com/pdfedit-support@...>
[4] http://p.sf.net/sfu/vmware-sfdev2dev
[5] http://pdfedit.cvs.sourceforge.net/pdfedit/
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Pdfedit-support mailing list
Pdfedit-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdfedit-support