Hi,

I got the sources. I haven't had a lot of time to play with this. I  
ran autoconf -v in the pdf-test directory and got:

autom4te-2.60:                    'AC_FUNC_MEMCMP' => 1,
autom4te-2.60:                    'm4_include' => 1,
autom4te-2.60:                    'AC_HEADER_DIRENT' => 1,
autom4te-2.60:                    'AC_CHECK_FUNCS' => 1
autom4te-2.60:                  }
autom4te-2.60:                ], 'Autom4te::Request' );
autom4te-2.60: formatting traces for `/var/folders/wz/wzhhzz8FEGC1mj 
+miX201U+++TI/-Tmp-//am4trc8TLq/warnings': _m4_warn
autom4te-2.60: reading /var/folders/wz/wzhhzz8FEGC1mj+miX201U+++TI/- 
Tmp-//am4trc8TLq/warning

then ran ./configure --prefix=/sw --with-boost=/sw/include and got:

./configure: line 4: .: filename argument required
.: usage: . filename [arguments]

So I guess there is a problem with autoconf not creating configure  
properly?

Line 4 of configure was "." amongst some comments which I deleted. I  
tried again and got config.log below.

James.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PDFedit configure -n 0.3.2-CVS, which was
generated by GNU Autoconf 2.60.  Invocation command line was

   $ ./configure --prefix=/sw --with-boost=/sw/include

## --------- ##
## Platform. ##
## --------- ##

hostname = James.local
uname -m = i386
uname -r = 9.1.0
uname -s = Darwin
uname -v = Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007;  
root:xnu-1228.0.2~1/REL
EASE_I386

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
          Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007;  
root:xnu-1228.0.2~1/RELEA
SE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 2.00 gigabytes
Default processor set: 69 tasks, 266 threads, 2 processors
Load average: 1.06, Mach factor: 0.93
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sw/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/X11/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1896: checking for g++
configure:1912: found /usr/bin/g++
configure:1923: result: g++
configure:1954: checking for C++ compiler version
configure:1961: g++ --version >&5
i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

configure:1964: $? = 0
configure:1971: g++ -v >&5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- 
checking -enable-werror --p
refix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ -- 
program-transform-name
=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 -- 
with-slibdir=/usr/lib --
build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- 
host=i686-apple-darwin9 --ta
rget=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
configure:1974: $? = 0
configure:1981: g++ -V >&5
g++-4.0: argument to `-V' is missing
configure:1984: $? = 1
configure:2007: checking for C++ compiler default output file name
configure:2034: g++    conftest.cpp  >&5
conftest.cpp:5: error: missing terminating " character
configure:2037: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "PDFedit"
| #define PACKAGE_TARNAME "pdfedit"
| #define PACKAGE_VERSION "-n 0.3.2-CVS
| "
| #define PACKAGE_STRING "PDFedit -n 0.3.2-CVS
| "
| #define PACKAGE_BUGREPORT "BUGTRACKER - http://pdfedit.petricek.net/bt/ 
  "
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2076: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_INTLTOOL_PERL=/usr/bin/perl
ac_cv_prog_ac_ct_CXX=g++

## ----------------- ##
## Output variables. ##
## ----------------- ##

'
'
ADVANCED_INSTALL_TARGET=''
ADVANCED_TARGET=''
BOOST_CPPFLAGS=''
BOOST_IOSTREAMS_LIB=''
BOOST_LDFLAGS=''
CC=''
CFLAGS=''
CPPFLAGS=''
CPPUNIT_CFLAGS=''
CPPUNIT_CONFIG=''
CPPUNIT_LIBS=''
CXX='g++'
CXXCPP=''
CXXFLAGS=''
DEBUG=''
DEFS=''
DOXYGEN_BIN=''
DOXYGEN_INSTALL_TARGET=''
DOXYGEN_TARGET=''
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
E_RELEASE=''
FT2_CFLAGS=''
FT2_CONFIG=''
FT2_LIBS=''
GREP=''
GUI_TARGET=''
INSTALL_TARGET=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
OBSERVER_CFLAGS=''
OBSERVER_CXXFLAGS=''
OPTIM=''
PACKAGE_BUGREPORT='BUGTRACKER - http://pdfedit.petricek.net/bt/ '
PACKAGE_NAME='PDFedit'
PACKAGE_STRING='PDFedit -n 0.3.2-CVS
PACKAGE_TARNAME='pdfedit'
PACKAGE_VERSION='-n 0.3.2-CVS
PATH_SEPARATOR=':'
QMAKE=''
QSA_DIR=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STACK_PROTECTOR_FLAGS=''
TESTS_TARGET=''
UNINSTALL_TARGET=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC=''
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_release=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_release=''
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/sw'
program_transform_name='s,x,x,'
psdir='${docdir}'
root_dir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
t1_CFLAGS=''
t1_LIBS=''
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "PDFedit"
#define PACKAGE_TARNAME "pdfedit"
#define PACKAGE_VERSION "-n 0.3.2-CVS
"
#define PACKAGE_STRING "PDFedit -n 0.3.2-CVS
"
#define PACKAGE_BUGREPORT "BUGTRACKER - http://pdfedit.petricek.net/ 
bt/ "

configure: exit 77


On 13/01/2008, at 8:20 PM, Michal Hocko wrote:

> On Sun, Jan 13, 2008 at 01:53:50PM +1000, James Bird wrote:
>> Hi,
>
> Hi.
>
>>
>> I am trying to install pdfedit on Mac OSX 1.5. I would like to  
>> install the
>> program to the same place that fink installs to which is /sw. My  
>> boost
>> location is /sw/include/boost. So I ran:
>>
>> ./configure --prefix=/sw CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/ 
>> include"
>
> I am currently working on the new makefiles infrastructure. Could you
> try to get sources from CVS (devel-msts-unified_makefiles):
> cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/ 
> pdfedit \
>       co -r devel-msts-unified_makefiles -d pdfedit-test pdfedit
> Note that you have to generate configure script (use autoconf with no
> parameters in the source tree root).
> And finally run (see README for more information):
> ./configure --prefix=/sw --with-boost=/sw/include
>
> There was one attempt to compile PDFedit on Mac OSX, but unfortunately
> it wasn't successful (see http://pdfedit.petricek.net/bt/view.php?id=191) 
> .
> Please update this bug with your experiences.
>
>>
>> and got:
>>
>> checking boost/smart_ptr.hpp usability... yes
>> checking boost/smart_ptr.hpp presence... yes
>> checking for boost/smart_ptr.hpp... yes
>> checking boost/iostreams/stream.hpp usability... yes
>> checking boost/iostreams/stream.hpp presence... yes
>> checking for boost/iostreams/stream.hpp... yes
>>
>> So then I run:
>>
>> make install
>>
>> and get:
>>
>> cd doc && ( gmake doc_dist|| make doc_dist )
>> /bin/sh: gmake: command not found
>> cd user && ( gmake all_no_pdf || make all_no_pdf )
>> /bin/sh: gmake: command not found
>> make[2]: Nothing to be done for `all_no_pdf'.
>> cd design && ( gmake all_no_pdf || make all_no_pdf )
>> /bin/sh: gmake: command not found
>> make[2]: Nothing to be done for `all_no_pdf'.
>> cd src && make
>> cd xpdf && make libxpdf
>> cd goo; make
>> make[3]: Nothing to be done for `all'.
>> cd fofi; make
>> make[3]: Nothing to be done for `all'.
>> cd splash; make
>> make[3]: Nothing to be done for `all'.
>> cd xpdf; make libxpdf
>> make[3]: Nothing to be done for `libxpdf'.
>> cd utils && make
>> g++ -c -pipe -Wall -W -Wconversion -Wcast-qual -Wwrite-strings -ansi
>> -pedantic -Wno-unused-variable -Wunused-function -D_REENTRANT - 
>> DNDEBUG -O2
>> -I./ -I../ -I../xpdf/ -I../xpdf/xpdf -I../xpdf/goo -I../xpdf/splash
>> -I../xpdf/fofi  -o delinearizator.o delinearizator.cc
>> In file included from ../kernel/pdfwriter.h:90,
>>                 from delinearizator.h:56,
>>                 from delinearizator.cc:47:
>> ../utils/observer.h:149:32: error: boost/shared_ptr.hpp: No such  
>> file or
>> directory
>> In file included from ../kernel/xrefwriter.h:178,
>>                 from delinearizator.cc:49:
>> ../kernel/static.h:50:31: error: boost/smart_ptr.hpp: No such file or
>> directory
>> ../kernel/static.h:51:38: error: boost/iostreams/stream.hpp: No  
>> such file
>> or directory
>> ../kernel/static.h:52:48: error: boost/iostreams/ 
>> filtering_stream.hpp: No
>> such file or directory
>> ../utils/observer.h:225: error: ?boost? has not been declared
>>
>> I see the post:
>>
>> http://sourceforge.net/mailarchive/forum.php?thread_name=a8ec5e370711080301n2842886ne93df87990ff7652%40mail.gmail.com&forum_name=pdfedit-support
>>
>> which says I "have to change Makefiles manually in such a case".
>>
>> I've read:
>>
>> http://sourceforge.net/mailarchive/message.php?msg_id=200710162227.00753.rodneyh%40bigpond.net.au
>>
>> but I still don't know what changes I should make to the Makefiles.  
>> Could
>> anyone give some guidance?
>>
>> Thanks,
>> James.
>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Pdfedit-support mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pdfedit-support
>
>
> -- 
> Michal Hocko
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Pdfedit-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pdfedit-support
>


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to