Hi Adam,
Just tried make dist and make distcheck following our earlier emails.
make dist works fine as I thought (we use it in build-snapshot anyway),
however make distcheck fails as below.
cd'ing into the test build directory and running make from there works
fine, so I guess it's a simple problem caused by building from one
directory above.
Regards, Dave.
{ test ! -d pgadmin3-0.1.1 || { find pgadmin3-0.1.1 -type d ! -perm -200
-exec chmod u+w {} ';' && rm -fr pgadmin3-0.1.1; }; }
mkdir pgadmin3-0.1.1
/bin/sh ./config/mkinstalldirs pgadmin3-0.1.1/config
pgadmin3-0.1.1/docs/en_US pgadmin3-0.1.1/docs/en_US/images
pgadmin3-0.1.1/docs/en_US/pg
mkdir -p -- pgadmin3-0.1.1/config pgadmin3-0.1.1/docs/en_US
pgadmin3-0.1.1/docs/en_US/images pgadmin3-0.1.1/docs/en_US/pg
list='src'; for subdir in $list; do \
if test "$subdir" = .; then :; else \
test -d pgadmin3-0.1.1/$subdir \
|| mkdir pgadmin3-0.1.1/$subdir \
|| exit 1; \
(cd $subdir && \
make \
top_distdir="." \
distdir=../pgadmin3-0.1.1/$subdir \
distdir) \
|| exit 1; \
fi; \
done
make[1]: Entering directory `/usr/local/src/pgadmin3/src'
/bin/sh ../config/mkinstalldirs ../pgadmin3-0.1.1/src/include
../pgadmin3-0.1.1/src/include/images ../pgadmin3-0.1.1/src/ui/common
../pgadmin3-0.1.1/src/ui/de_DE ../pgadmin3-0.1.1/src/ui/fr_FR
../pgadmin3-0.1.1/src/ui/hr_HR ../pgadmin3-0.1.1/src/ui/id_ID
../pgadmin3-0.1.1/src/ui/it_IT ../pgadmin3-0.1.1/src/ui/ja_JP
../pgadmin3-0.1.1/src/ui/pl_PL ../pgadmin3-0.1.1/src/ui/tr_TR
../pgadmin3-0.1.1/src/ui/zh_CN
mkdir -p -- ../pgadmin3-0.1.1/src/include
../pgadmin3-0.1.1/src/include/images ../pgadmin3-0.1.1/src/ui/common
../pgadmin3-0.1.1/src/ui/de_DE ../pgadmin3-0.1.1/src/ui/fr_FR
../pgadmin3-0.1.1/src/ui/hr_HR ../pgadmin3-0.1.1/src/ui/id_ID
../pgadmin3-0.1.1/src/ui/it_IT ../pgadmin3-0.1.1/src/ui/ja_JP
../pgadmin3-0.1.1/src/ui/pl_PL ../pgadmin3-0.1.1/src/ui/tr_TR
../pgadmin3-0.1.1/src/ui/zh_CN
mkdir -p -- ../pgadmin3-0.1.1/src/db
mkdir -p -- ../pgadmin3-0.1.1/src/schema
mkdir -p -- ../pgadmin3-0.1.1/src/utils
make[1]: Leaving directory `/usr/local/src/pgadmin3/src'
find pgadmin3-0.1.1 -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec /bin/sh
/usr/local/src/pgadmin3/config/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r pgadmin3-0.1.1
/bin/sh /usr/local/src/pgadmin3/config/missing --run tar chof -
pgadmin3-0.1.1 | GZIP=--best gzip -c >pgadmin3-0.1.1.tar.gz
{ test ! -d pgadmin3-0.1.1 || { find pgadmin3-0.1.1 -type d ! -perm -200
-exec chmod u+w {} ';' && rm -fr pgadmin3-0.1.1; }; }
{ test ! -d pgadmin3-0.1.1 || { find pgadmin3-0.1.1 -type d ! -perm -200
-exec chmod u+w {} ';' && rm -fr pgadmin3-0.1.1; }; }
GZIP=--best gunzip -c pgadmin3-0.1.1.tar.gz | /bin/sh
/usr/local/src/pgadmin3/config/missing --run tar xf -
chmod -R a-w pgadmin3-0.1.1; chmod a+w pgadmin3-0.1.1
mkdir pgadmin3-0.1.1/_build
mkdir pgadmin3-0.1.1/_inst
chmod a-w pgadmin3-0.1.1
dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd pgadmin3-0.1.1/_inst
&& pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \
&& cd pgadmin3-0.1.1/_build \
&& ../configure --srcdir=.. --prefix="$dc_install_base" \
\
&& make \
&& make dvi \
&& make check \
&& make install \
&& make installcheck \
&& make uninstall \
&& make distuninstallcheck_dir="$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$dc_install_base" \
&& ({ \
(cd ../.. && /bin/sh ./config/mkinstalldirs "$dc_destdir") \
&& make DESTDIR="$dc_destdir" install \
&& make DESTDIR="$dc_destdir" uninstall \
&& make DESTDIR="$dc_destdir" \
distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \
} || { rm -rf "$dc_destdir"; exit 1; }) \
&& rm -rf "$dc_destdir" \
&& make dist-gzip \
&& rm -f pgadmin3-0.1.1.tar.gz \
&& make distcleancheck
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working strtod... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for memset... yes
checking for strchr... yes
checking for wx-config binary... yes
checking for pgsql include files... yes
checking for pgsql... yes
checking for PQexec in -lpq... yes
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking pgsql in /usr/local/pgsql... ok
checking for wxWindows... yes
checking wx/version.h usability... yes
checking wx/version.h presence... yes
checking for wx/version.h... yes
checking wxWindows in /usr/local... ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make[1]: Entering directory
`/usr/local/src/pgadmin3/pgadmin3-0.1.1/_build'
make all-recursive
make[2]: Entering directory
`/usr/local/src/pgadmin3/pgadmin3-0.1.1/_build'
Making all in src
make[3]: Entering directory
`/usr/local/src/pgadmin3/pgadmin3-0.1.1/_build/src'
if g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -I/usr/local/pgsql/include
-I/usr/local/lib/wx/include/gtk2ud-2.5 -D__WXDEBUG__ -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/local/include
-DDATA_DIR=\"/usr/local/src/pgadmin3/pgadmin3-0.1.1/_inst/share/pgadmin3
/\" -Wall -g -I./include/ -I -g -O2 -MT pgAdmin3.o -MD -MP -MF
".deps/pgAdmin3.Tpo" \
-c -o pgAdmin3.o `test -f '../../src/pgAdmin3.cpp' || echo
'../../src/'`../../src/pgAdmin3.cpp; \
then mv ".deps/pgAdmin3.Tpo" ".deps/pgAdmin3.Po"; \
else rm -f ".deps/pgAdmin3.Tpo"; exit 1; \
fi
../../src/pgAdmin3.cpp:29:22: pgAdmin3.h: No such file or directory
../../src/pgAdmin3.cpp:30:18: misc.h: No such file or directory
../../src/pgAdmin3.cpp:31:23: sysLogger.h: No such file or directory
../../src/pgAdmin3.cpp:32:25: sysSettings.h: No such file or directory
../../src/pgAdmin3.cpp:33:21: frmMain.h: No such file or directory
../../src/pgAdmin3.cpp:34:23: frmSplash.h: No such file or directory
../../src/pgAdmin3.cpp:37: syntax error before `*' token
../../src/pgAdmin3.cpp:39: syntax error before `*' token
../../src/pgAdmin3.cpp: In function `wxApp* wxCreateApp()':
../../src/pgAdmin3.cpp:45: parse error before `;' token
../../src/pgAdmin3.cpp: At global scope:
../../src/pgAdmin3.cpp:45: syntax error before `&' token
../../src/pgAdmin3.cpp:59: syntax error before `::' token
../../src/pgAdmin3.cpp:68: ISO C++ forbids declaration of `settings'
with no
type
../../src/pgAdmin3.cpp:68: parse error before `(' token
../../src/pgAdmin3.cpp:72: ISO C++ forbids declaration of `logger' with
no type
../../src/pgAdmin3.cpp:72: conflicting types for `int logger'
../../src/pgAdmin3.cpp:38: previous declaration as `wxLog*logger'
../../src/pgAdmin3.cpp:72: parse error before `(' token
../../src/pgAdmin3.cpp:73: ISO C++ forbids declaration of
`SetActiveTarget'
with no type
../../src/pgAdmin3.cpp:73: `int wxLog::SetActiveTarget' is not a static
member
of `class wxLog'
../../src/pgAdmin3.cpp:76: syntax error before `<<' token
../../src/pgAdmin3.cpp:77: ISO C++ forbids declaration of `wxLogInfo'
with no
type
../../src/pgAdmin3.cpp:77: `int wxLogInfo' redeclared as different kind
of
symbol
/usr/local/include/wx/log.h:564: previous declaration of `void
wxLogInfo(const
wxChar*, ...)'
../../src/pgAdmin3.cpp:77: invalid conversion from `const wchar_t*' to
`int'
../../src/pgAdmin3.cpp:78: ISO C++ forbids declaration of `wxLogInfo'
with no
type
../../src/pgAdmin3.cpp:78: redefinition of `int wxLogInfo'
../../src/pgAdmin3.cpp:77: `int wxLogInfo' previously defined here
../../src/pgAdmin3.cpp:78: invalid conversion from `const wxChar*' to
`int'
../../src/pgAdmin3.cpp:79: ISO C++ forbids declaration of `wxLogInfo'
with no
type
../../src/pgAdmin3.cpp:79: redefinition of `int wxLogInfo'
../../src/pgAdmin3.cpp:78: `int wxLogInfo' previously defined here
../../src/pgAdmin3.cpp:79: invalid conversion from `const wchar_t*' to
`int'
../../src/pgAdmin3.cpp:94: parse error before `if'
../../src/pgAdmin3.cpp:110: parse error before `while'
../../src/pgAdmin3.cpp:126: syntax error before `++' token
../../src/pgAdmin3.cpp:128: syntax error before `++' token
../../src/pgAdmin3.cpp:132: base operand of `->' is not a pointer
../../src/pgAdmin3.cpp:134: parse error before `if'
../../src/pgAdmin3.cpp:137: syntax error before `.' token
../../src/pgAdmin3.cpp:141: syntax error before `.' token
../../src/pgAdmin3.cpp:148: ISO C++ forbids declaration of `langNames'
with no
type
../../src/pgAdmin3.cpp:148: invalid initializer
../../src/pgAdmin3.cpp:150: parse error before `for'
../../src/pgAdmin3.cpp:150: parse error before `;' token
../../src/pgAdmin3.cpp:150: syntax error before `++' token
../../src/pgAdmin3.cpp:153: ISO C++ forbids declaration of `langNames'
with no
type
../../src/pgAdmin3.cpp:153: variable-size type declared outside of any
function
../../src/pgAdmin3.cpp:153: conflicting types for `int langNames[2]'
../../src/pgAdmin3.cpp:148: previous declaration as `int langNames[0]'
../../src/pgAdmin3.cpp:154: invalid initializer
../../src/pgAdmin3.cpp:155: parse error before `}' token
../../src/pgAdmin3.cpp:158: ISO C++ forbids declaration of `langNo' with
no
type
../../src/pgAdmin3.cpp:158: redefinition of `int langNo'
../../src/pgAdmin3.cpp:108: `int langNo' previously defined here
../../src/pgAdmin3.cpp:159: no matching function for call to `
wxGetSingleChoiceIndex(const wxChar*, const wxChar*, long int,
int[2])'
/usr/local/include/wx/generic/choicdgg.h:214: candidates are: int
wxGetSingleChoiceIndex(const wxString&, const wxString&, const
wxArrayString&, wxWindow* = 0, int = -1, int = -1, bool = 1, int =
200, int
= 150)
/usr/local/include/wx/generic/choicdgg.h:224: int
wxGetSingleChoiceIndex(const wxString&, const wxString&, int, const
wxString*, wxWindow* = 0, int = -1, int = -1, bool = 1, int = 200,
int =
150)
../../src/pgAdmin3.cpp:160: parse error before `if'
../../src/pgAdmin3.cpp:163: syntax error before `->' token
../../src/pgAdmin3.cpp:175: syntax error before `.' token
../../src/pgAdmin3.cpp:179: syntax error before `.' token
../../src/pgAdmin3.cpp:185: syntax error before `*' token
../../src/pgAdmin3.cpp:191: syntax error before `->' token
../../src/pgAdmin3.cpp:192: syntax error before `->' token
../../src/pgAdmin3.cpp:193: ISO C++ forbids declaration of `wxYield'
with no
type
../../src/pgAdmin3.cpp:193: new declaration `int wxYield()'
/usr/local/include/wx/app.h:459: ambiguates old declaration `bool
wxYield()'
../../src/pgAdmin3.cpp:194: parse error before `}' token
../../src/pgAdmin3.cpp:205: ISO C++ forbids declaration of `AddHandler'
with no
type
../../src/pgAdmin3.cpp:205: `int wxImage::AddHandler' is not a static
member of
`class wxImage'
../../src/pgAdmin3.cpp:205: invalid conversion from `wxJPEGHandler*' to
`int'
../../src/pgAdmin3.cpp:206: ISO C++ forbids declaration of `AddHandler'
with no
type
../../src/pgAdmin3.cpp:206: `int wxImage::AddHandler' is not a static
member of
`class wxImage'
../../src/pgAdmin3.cpp:206: invalid conversion from `wxPNGHandler*' to
`int'
../../src/pgAdmin3.cpp:207: ISO C++ forbids declaration of `AddHandler'
with no
type
../../src/pgAdmin3.cpp:207: `int wxImage::AddHandler' is not a static
member of
`class wxImage'
../../src/pgAdmin3.cpp:207: invalid conversion from `wxGIFHandler*' to
`int'
../../src/pgAdmin3.cpp:209: ISO C++ forbids declaration of `AddHandler'
with no
type
../../src/pgAdmin3.cpp:209: `int wxFileSystem::AddHandler' is not a
static
member of `class wxFileSystem'
../../src/pgAdmin3.cpp:209: invalid conversion from `wxZipFSHandler*' to
`int'
../../src/pgAdmin3.cpp:212: ISO C++ forbids declaration of `Get' with no
type
../../src/pgAdmin3.cpp:212: prototype for `int wxXmlResource::Get()'
does not
match any in class `wxXmlResource'
/usr/local/include/wx/xrc/xmlres.h:221: candidate is: static
wxXmlResource*
wxXmlResource::Get()
../../src/pgAdmin3.cpp:212: `int wxXmlResource::Get()' and `static
wxXmlResource* wxXmlResource::Get()' cannot be overloaded
../../src/pgAdmin3.cpp: In member function `int wxXmlResource::Get()':
../../src/pgAdmin3.cpp:212: parse error before `->' token
../../src/pgAdmin3.cpp:232: ISO C++ forbids declaration of `done' with
no type
../../src/pgAdmin3.cpp:232: conflicting types for `int done'
../../src/pgAdmin3.cpp:227: previous declaration as `bool done'
../../src/pgAdmin3.cpp:232: `LoadAllXrc' undeclared (first use this
function)
../../src/pgAdmin3.cpp:232: (Each undeclared identifier is reported only
once
for each function it appears in.)
../../src/pgAdmin3.cpp:233: parse error before `if'
../../src/pgAdmin3.cpp:243: `APPNAME_L' undeclared (first use this
function)
../../src/pgAdmin3.cpp:243: ISO C++ forbids declaration of `SetAppName'
with no
type
../../src/pgAdmin3.cpp:251: base operand of `->' is not a pointer
../../src/pgAdmin3.cpp:251: base operand of `->' is not a pointer
../../src/pgAdmin3.cpp:252: base operand of `->' is not a pointer
../../src/pgAdmin3.cpp:252: base operand of `->' is not a pointer
../../src/pgAdmin3.cpp:253: ISO C++ forbids declaration of
`CheckOnScreen' with
no type
../../src/pgAdmin3.cpp:253: initializer list being treated as compound
expression
../../src/pgAdmin3.cpp:255: ISO C++ forbids declaration of `winMain'
with no
type
../../src/pgAdmin3.cpp:255: parse error before `(' token
../../src/pgAdmin3.cpp:260: syntax error before `->' token
../../src/pgAdmin3.cpp:261: ISO C++ forbids declaration of
`SetTopWindow' with
no type
../../src/pgAdmin3.cpp:262: ISO C++ forbids declaration of `
SetExitOnFrameDelete' with no type
../../src/pgAdmin3.cpp:264: parse error before `if'
../../src/pgAdmin3.cpp:270: syntax error before `*' token
../../src/pgAdmin3.cpp:277: syntax error before `::' token
../../src/pgAdmin3.cpp:293: syntax error before `::' token
../../src/pgAdmin3.cpp:299: `dir' undeclared (first use this function)
../../src/pgAdmin3.cpp:300: parse error before `if'
../../src/pgAdmin3.cpp:304: parse error before `for'
../../src/pgAdmin3.cpp:304: parse error before `;' token
../../src/pgAdmin3.cpp:304: syntax error before `++' token
../../src/pgAdmin3.cpp:307: ISO C++ forbids declaration of `Get' with no
type
../../src/pgAdmin3.cpp:307: prototype for `int wxXmlResource::Get()'
does not
match any in class `wxXmlResource'
/usr/local/include/wx/xrc/xmlres.h:221: candidate is: static
wxXmlResource*
wxXmlResource::Get()
../../src/pgAdmin3.cpp:307: `int wxXmlResource::Get()' and `static
wxXmlResource* wxXmlResource::Get()' cannot be overloaded
../../src/pgAdmin3.cpp: In member function `int wxXmlResource::Get()':
../../src/pgAdmin3.cpp:307: parse error before `->' token
make[3]: *** [pgAdmin3.o] Error 1
make[3]: Leaving directory
`/usr/local/src/pgadmin3/pgadmin3-0.1.1/_build/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/local/src/pgadmin3/pgadmin3-0.1.1/_build'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/local/src/pgadmin3/pgadmin3-0.1.1/_build'
make: *** [distcheck] Error 2