Mark Moorcroft | 1 Mar 03:16
Picon
Picon

applersync won't build

I have a current fink (selfupdated) and I get the following when installing
applersync..

gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I/sw/include/copyfile-0.1 -c
backup.c -o backup.o
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I/sw/include/copyfile-0.1 -c
options.c -o options.o
options.c:22:18: error: popt.h: No such file or directory
options.c:331: error: array type has incomplete element type
options.c:333: error: 'POPT_ARG_NONE' undeclared here (not in a function)

Can someone else try to verify there is a problem?

--MM

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Alexander Hansen | 1 Mar 04:20
Picon
Gravatar

Re: applersync won't build

On 2/28/07, Mark Moorcroft <mmoorcroft <at> mail.arc.nasa.gov> wrote:
> I have a current fink (selfupdated) and I get the following when installing
> applersync..
>
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I/sw/include/copyfile-0.1 -c
> backup.c -o backup.o
> gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I/sw/include/copyfile-0.1 -c
> options.c -o options.o
> options.c:22:18: error: popt.h: No such file or directory
> options.c:331: error: array type has incomplete element type
> options.c:333: error: 'POPT_ARG_NONE' undeclared here (not in a function)
>
> Can someone else try to verify there is a problem?
>
> --MM
>

The issue appears to be that the package automatically uses popt
libraries that are bundled in the tarball if you don't have Fink's
popt installed, but if you do it tries to use it but fails to include
it properly.

I've committed a fix to CVS.
--

-- 
Alexander K. Hansen
(akh)
Fink Documenter (still)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
(Continue reading)

Guy Lauquin | 1 Mar 12:30
Picon

scribus compilation failed

OSX 10.4.8
Package manager version: 0.26.1
Distribution version: 0.8.1.rsync powerpc

Scibus failed to compile:
message error in config.log

configure:4937: gcc -E -I/sw/include conftest.c
conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "scribus"
| #define VERSION "1.3.3.8"
| #define KDELIBSUFF ""
| #define HAVE_LIBART 1
| /* end confdefs.h.  */
| #include <ac_nonexistent

Thanks
guy

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
(Continue reading)

Alexander Hansen | 1 Mar 13:19
Picon
Gravatar

Re: scribus compilation failed

On 3/1/07, Guy Lauquin <guy.lauquin <at> ibgc.u-bordeaux2.fr> wrote:
> OSX 10.4.8
> Package manager version: 0.26.1
> Distribution version: 0.8.1.rsync powerpc
>
> Scibus failed to compile:
> message error in config.log
>
> configure:4937: gcc -E -I/sw/include conftest.c
> conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
> configure:4943: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "scribus"
> | #define VERSION "1.3.3.8"
> | #define KDELIBSUFF ""
> | #define HAVE_LIBART 1
> | /* end confdefs.h.  */
> | #include <ac_nonexistent
>
> Thanks
> guy
>

It would have been good to provide the build output--I see messages
(Continue reading)

Martin Costabel | 1 Mar 15:39
Picon

Re: scribus compilation failed

Guy Lauquin wrote:
[]
> /usr/bin/ld: Undefined symbols:
> art_realloc(void*, unsigned long)
> art_free(void*)
> art_alloc(unsigned long)

Yes, this is the bug caused by libart2-2.3.18. It didn't happen with 
2.3.17, and the upgrade to 2.3.19 should solve it.

--

-- 
Marti

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Alexander Hansen | 1 Mar 15:38
Picon
Gravatar

Re: scribus compilation failed

On 3/1/07, Guy Lauquin <guy.lauquin <at> ibgc.u-bordeaux2.fr> wrote:
>
>
> On 3/1/07, Guy Lauquin <guy.lauquin <at> ibgc.u-bordeaux2.fr> wrote:
> OSX 10.4.8
>  Package manager version: 0.26.1
>  Distribution version: 0.8.1.rsync powerpc
>
>  Scibus failed to compile:
>  message error in config.log
>
>  configure:4937: gcc -E -I/sw/include conftest.c
>  conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
>  configure:4943: $? = 1
>  configure: failed program was:
>  | /* confdefs.h.  */
>  | #define PACKAGE_NAME ""
>  | #define PACKAGE_TARNAME ""
>  | #define PACKAGE_VERSION ""
>  | #define PACKAGE_STRING ""
>  | #define PACKAGE_BUGREPORT ""
>  | #define PACKAGE "scribus"
>  | #define VERSION "1.3.3.8"
>  | #define KDELIBSUFF ""
>  | #define HAVE_LIBART 1
>  | /* end confdefs.h.  */
>  | #include <ac_nonexistent
>
>  Thanks
>  guy
(Continue reading)

Guy Lauquin | 1 Mar 15:16
Picon

Re: scribus compilation failed

On 3/1/07, Guy Lauquin <guy.lauquin <at> ibgc.u-bordeaux2.fr> wrote:
OSX 10.4.8
Package manager version: 0.26.1
Distribution version: 0.8.1.rsync powerpc

Scibus failed to compile:
message error in config.log

configure:4937: gcc -E -I/sw/include conftest.c
conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "scribus"
| #define VERSION "1.3.3.8"
| #define KDELIBSUFF ""
| #define HAVE_LIBART 1
| /* end confdefs.h.  */
| #include <ac_nonexistent

Thanks
guy

It would have been good to provide the build output--I see messages
like this fairly often in config.log even on successful builds--and to
provide context for the config.log piece.

Are you saying that your attempt failed during configuration, or was
the failure the one reported in
http://www.mail-archive.com/fink-devel%40lists.sourceforge.net/msg14983.html
?

If it was the latter, a fix for the package that was causing the
problem (libart2) was committed about five hours ago to CVS, and
should be available to you if you selfupdate.

--
Alexander K. Hansen
(akh)
Fink Documenter (still)

here is part of the build output:

perl -pi -e 's|\-no\-cpp\-precomp||g' configure
/var/tmp/tmp.1.Expmwb
#!/bin/sh -ev
 export PATH=/sw/lib/freetype219/bin:$PATH
 ./configure --prefix=/sw --with-qt-dir=/sw --with-qt-includes=/sw/include/qt --with-qt-libraries=/sw/lib --with-extra-includes=/sw/include --with-extra-libs=/sw/lib --disable-dependency-tracking --mandir=/sw/share/man
checking build system type... powerpc-apple-darwin8.8.0
checking host system type... powerpc-apple-darwin8.8.0
checking target system type... powerpc-apple-darwin8.8.0
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
not using lib directory suffix
checking for extra includes... added
checking for extra libs... added
checking for pkg-config... /sw/bin/pkg-config
checking for style of include used by make... GNU
checking for g++... g++
checking for C++ compiler default output file name... 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 g++ accepts -g... yes
checking dependency style of g++... none
checking whether g++ supports -fvisibility=hidden... yes
checking whether to use gcc symbol visibility controls... no - disabled or no compiler support
checking for libart2-config... /sw/bin/libart2-config
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
. . . . . . . . .

checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
. . . . . . . . .

Good - your configure finished. Start make now

 make
Makefile:927: warning: overriding commands for target `clean-bcheck'
Makefile:893: warning: ignoring old commands for target `clean-bcheck'
Makefile:932: warning: overriding commands for target `bcheck-am'
Makefile:898: warning: ignoring old commands for target `bcheck-am'
make  all-recursive
Makefile:927: warning: overriding commands for target `clean-bcheck'
Makefile:893: warning: ignoring old commands for target `clean-bcheck'
Makefile:932: warning: overriding commands for target `bcheck-am'
Makefile:898: warning: ignoring old commands for target `bcheck-am'
Making all in cmake
Making all in modules
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in scribus
Making all in libart
. . . . . . . .
many  warnings like this one

In file included from /sw/include/jpeglib.h:28,
                 from scimage.h:37,
                 from pageitem.h:38,
                 from scribusstructs.h:27,
                 from scribusdoc.h:43,
                 from scribusview.h:47,
                 from scribus.h:61,
                 from main_nix.cpp:36,
                 from main.cpp:29:
/sw/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from scconfig.h:25,
                 from scribusdoc.h:26,
                 from scribusview.h:47,
                 from scribus.h:61,
                 from main_nix.cpp:36,
                 from main.cpp:29:
../config.h:94:1: warning: this is the location of the previous definition

. . . . . . . .
/usr/bin/ld: Undefined symbols:
art_realloc(void*, unsigned long)
art_free(void*)
art_alloc(unsigned long)
collect2: ld returned 1 exit status
make[3]: *** [scribus] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.Expmwb failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...

Thanks

Guy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
Marc Hoffman | 1 Mar 12:10

can someone help me debug this please?


pi4:~ root# fink install svn-client-ssl
Information about 1996 packages read in 1 seconds.

fink needs help picking an alternative to satisfy a virtual  
dependency. The candidates:
(1)     db44-aes-shlibs: Shared Libraries for db44-aes
(2)     db44-shlibs: Shared Libraries for db44

Pick one: [1] 2
The following package will be installed or updated:
svn-client-ssl
The following 27 additional packages will be installed:
apr-ssl apr-ssl-common apr-ssl-shlibs autoconf2.5 automake1.9 cyrus- 
sasl2-dev cyrus-sasl2-shlibs db43-ssl-shlibs
db44-shlibs expat gdbm3 io-string-pm libtool14 libtool14-shlibs  
libxml2 m4 neon24-ssl neon24-ssl-shlibs
openldap23-dev openldap23-shlibs openssl097 openssl097-dev openssl097- 
shlibs pkgconfig svn-ssl-shlibs swig
swig-shlibs
Do you want to continue? [Y/n] y
/sw/bin/apt-get-lockwait -q --ignore-breakage --download-only install  
db44-shlibs=4.4.16-1001
Reading Package Lists...
Building Dependency Tree...
The following NEW packages will be installed:
   db44-shlibs
0 packages upgraded, 1 newly installed, 0 to remove and 2  not upgraded.
11 packages not fully installed or removed.
Need to get 757kB of archives. After unpacking 1860kB will be used.
Get:1 http://bindist.finkmirrors.net 10.4/release/main db44-shlibs  
4.4.16-1001 [757kB]
Fetched 757kB in 2s (324kB/s)
Download complete and in download only mode
/sw/bin/dpkg-lockwait -i /sw/var/cache/apt/archives/db43-ssl- 
shlibs_4.3.29-1001_darwin-powerpc.deb
dpkg: considering removing db43-shlibs in favour of db43-ssl-shlibs ...
dpkg: no, cannot remove db43-shlibs (--auto-deconfigure will help):
svn-shlibs depends on db43-shlibs (>= 4.3.29-1001)
   db43-shlibs is to be removed.
dpkg: regarding .../db43-ssl-shlibs_4.3.29-1001_darwin-powerpc.deb  
containing db43-ssl-shlibs:
db43-ssl-shlibs conflicts with db43-shlibs
   db43-shlibs (version 4.3.29-1001) is installed.
/sw/bin/dpkg: error processing /sw/var/cache/apt/archives/db43-ssl- 
shlibs_4.3.29-1001_darwin-powerpc.deb (--install):
conflicting packages - not installing db43-ssl-shlibs
Errors were encountered while processing:
/sw/var/cache/apt/archives/db43-ssl-shlibs_4.3.29-1001_darwin- 
powerpc.deb
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package db43-ssl-shlibs-4.3.29-1001
pi4:~ root#

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Alexander Hansen | 1 Mar 18:34
Picon
Gravatar

Re: can someone help me debug this please?

On 3/1/07, Marc Hoffman <mmh <at> pleasantst.com> wrote:
>

<snip>

> /sw/bin/dpkg-lockwait -i /sw/var/cache/apt/archives/db43-ssl-
> shlibs_4.3.29-1001_darwin-powerpc.deb
> dpkg: considering removing db43-shlibs in favour of db43-ssl-shlibs ...
> dpkg: no, cannot remove db43-shlibs (--auto-deconfigure will help):
> svn-shlibs depends on db43-shlibs (>= 4.3.29-1001)
>    db43-shlibs is to be removed.
> dpkg: regarding .../db43-ssl-shlibs_4.3.29-1001_darwin-powerpc.deb
> containing db43-ssl-shlibs:
> db43-ssl-shlibs conflicts with db43-shlibs
>    db43-shlibs (version 4.3.29-1001) is installed.
> /sw/bin/dpkg: error processing /sw/var/cache/apt/archives/db43-ssl-
> shlibs_4.3.29-1001_darwin-powerpc.deb (--install):
> conflicting packages - not installing db43-ssl-shlibs
> Errors were encountered while processing:
> /sw/var/cache/apt/archives/db43-ssl-shlibs_4.3.29-1001_darwin-
> powerpc.deb
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Failed: can't install package db43-ssl-shlibs-4.3.29-1001
> pi4:~ root#
>

Your problem is that you apparently have a non-ssl version of svn that
wants db43-shlibs, and it won't automatically swap out--this is a
common issue when trying to switch to an -ssl version.

Try the following:

sudo apt-get remove db43-shlibs

(let it remove anything that depends on it--you can reinstall stuff later)

fink install svn-client-ssl

--

-- 
Alexander K. Hansen
(akh)
Fink Documenter (still)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Alexander Hansen | 1 Mar 18:37
Picon
Gravatar

Re: can someone help me debug this please?

On 3/1/07, Alexander Hansen <alexanderk.hansen <at> gmail.com> wrote:
> On 3/1/07, Marc Hoffman <mmh <at> pleasantst.com> wrote:
> >
>
> <snip>
>
> > /sw/bin/dpkg-lockwait -i /sw/var/cache/apt/archives/db43-ssl-
> > shlibs_4.3.29-1001_darwin-powerpc.deb
> > dpkg: considering removing db43-shlibs in favour of db43-ssl-shlibs ...
> > dpkg: no, cannot remove db43-shlibs (--auto-deconfigure will help):
> > svn-shlibs depends on db43-shlibs (>= 4.3.29-1001)
> >    db43-shlibs is to be removed.
> > dpkg: regarding .../db43-ssl-shlibs_4.3.29-1001_darwin-powerpc.deb
> > containing db43-ssl-shlibs:
> > db43-ssl-shlibs conflicts with db43-shlibs
> >    db43-shlibs (version 4.3.29-1001) is installed.
> > /sw/bin/dpkg: error processing /sw/var/cache/apt/archives/db43-ssl-
> > shlibs_4.3.29-1001_darwin-powerpc.deb (--install):
> > conflicting packages - not installing db43-ssl-shlibs
> > Errors were encountered while processing:
> > /sw/var/cache/apt/archives/db43-ssl-shlibs_4.3.29-1001_darwin-
> > powerpc.deb
> > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> > Failed: can't install package db43-ssl-shlibs-4.3.29-1001
> > pi4:~ root#
> >
>
> Your problem is that you apparently have a non-ssl version of svn that
> wants db43-shlibs, and it won't automatically swap out--this is a
> common issue when trying to switch to an -ssl version.
>
> Try the following:
>
> sudo apt-get remove db43-shlibs
>
> (let it remove anything that depends on it--you can reinstall stuff later)
>
> fink install svn-client-ssl
>

Or, you might want to run a "fink selfupdate" if you're currently
installing an svn version older than 1.4.2-11.  In that version, SSL
is built in to the svn packages (the svn-ssl ones are just
placeholders), and I believe it should automatically update you
without any extra removals.
--

-- 
Alexander K. Hansen
(akh)
Fink Documenter (still)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Gmane