> If you want to compile it, just use "configure --without-x".
> You'll get a message like this:
>
> configure: WARNING: Couldn't find X / Motif -- you will be
> able to compile
> pdftops, pdftotext, pdfinfo, pdffonts, and pdfimages,
> but not xpdf
>
> Just make it and copy the files you need to your binaries directory.
I did ./configure --without-x and it won't install, more specifically make doesn't
seem to build the executables.
Below is the output from ./configure, make, make install between the ####### lines
It seems to me that make makes the files in the same order as the install file lists
them:
* Type 'make'. This should build the executables:
xpdf/xpdf
xpdf/pdftops
xpdf/pdftotext
xpdf/pdfinfo
xpdf/pdffonts
xpdf/pdftopbm
xpdf/pdfimages
It says in make install that it can't find xpdf/pdftops, which does not exist, I am
assuming, because xpdf/xpdf was never created successfully bt make and therefore the
rest failed.
Is that as correct assumption?
What can I change to get them installed --without-x?
I'm doing this as root, and root owns all the files that were gzip 'ed out of the tar
file.
I also tried gmake but it gave the same errors.
Thanks a million!
Dan
##################################
./configure --without-x
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for OS/2 (with EMX)... no
checking for DOS (with DJGPP)... no
checking how to run the C preprocessor... gcc -E
checking for X... disabled
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gethostbyname... no
checking for gethostbyname in -lbsd... no
checking select() and fd_set in sys/select.h and sys/bsdtypes.h... not needed
checking FD_ZERO and strings.h or bstring.h... not needed
checking for rewinddir... no
checking for rewinddir in -lcposix... no
checking for popen... no
checking for mkstemp... no
checking for mkstemps... no
checking whether select takes fd_set arguments... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... 1
checking for fseeko... yes
checking for fseek64... no
checking for ftell64... no
checking whether to use libpaper library... maybe
checking where to find the libpaper header files...
checking paper.h usability... no
checking paper.h presence... no
checking for paper.h... no
not using libpaper library
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xpdf/Makefile
config.status: creating goo/Makefile
config.status: creating aconf.h
configure: WARNING: Couldn't find X / Motif -- you will be able to compile
pdftops, pdftotext, pdfinfo, pdffonts, and pdfimages, but not xpdf
######################################
make
cd goo; make
make[1]: Entering directory `/home/dmuey/programs/xpdf-2.02pl1/goo'
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c GHash.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c GList.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c GString.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c gmempp.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I. -c gfile.cc
gcc -g -O2 -DHAVE_CONFIG_H -I.. -I. -c -o gmem.o gmem.c
gcc -g -O2 -DHAVE_CONFIG_H -I.. -I. -c -o parseargs.o parseargs.c
rm -f libGoo.a
ar rc libGoo.a GHash.o GList.o GString.o gmempp.o gfile.o gmem.o parseargs.o
ranlib libGoo.a
make[1]: Leaving directory `/home/dmuey/programs/xpdf-2.02pl1/goo'
cd xpdf; make all-no-x
make[1]: Entering directory `/home/dmuey/programs/xpdf-2.02pl1/xpdf'
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Annot.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Array.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c BuiltinFont.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c BuiltinFontTables.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Catalog.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c CharCodeToUnicode.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c CMap.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Decrypt.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Dict.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Error.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FontEncodingTables.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FontFile.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Function.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Gfx.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c GfxFont.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c GfxState.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c GlobalParams.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c JBIG2Stream.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Lexer.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Link.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c NameToCharCode.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Outline.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Object.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c OutputDev.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Page.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Parser.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c PDFDoc.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c PDFDocEncoding.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c PSOutputDev.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c PSTokenizer.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c Stream.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c UnicodeMap.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c XRef.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c pdftops.cc
g++ -g -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -o pdftops Annot.o Array.o
BuiltinFont.o BuiltinFontTables.o Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o
Dict.o Error.o FontEncodingTables.o FontFile.o Function.o Gfx.o GfxFont.o GfxState.o
GlobalParams.o JBIG2Stream.o Lexer.o Link.o NameToCharCode.o Outline.o Object.o
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSOutputDev.o PSTokenizer.o
Stream.o UnicodeMap.o XRef.o pdftops.o \
-L../goo -lGoo -lm
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[1]: *** [pdftops] Error 1
make[1]: Leaving directory `/home/dmuey/programs/xpdf-2.02pl1/xpdf'
make: *** [all] Error 2
##################################################
make install
mkdir -p /usr/local/bin
/usr/bin/install -c xpdf/pdftops /usr/local/bin/pdftops
/usr/bin/install: cannot stat `xpdf/pdftops': No such file or directory
make: *** [install] Error 1
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html