Re: [Fink-users] OS X 10.3 Compile OpenLDAP errors

2006-08-21 Thread Martin Costabel
Waller Rick S wrote:
 Hi,
 
 I am getting consistent errors while fink is trying to compile the  
 OpenLDAP application.
 
 Has anyone seen this error or know what it is upset about??  I can't  
 seem to get past this point at all...
 
 cc -g -O2 -I../../include-I../../include   -I/sw/include/db4 - 
 DBIND_8_COMPAT -I/sw/include   -I/sw/include/db4 -DBIND_8_COMPAT -I/ 
 sw/include  -c -o version.o version.c
 version.c:11:61: missing terminating  character
 version.c:12: error: parse error before kristyandrick
 version.c:19:54: too many decimal points in number
 version.c:19:73: too many decimal points in number
 version.c:19: error: stray '\' in program
 version.c:19:100: missing terminating  character

Well, it seems pretty clear that it is upset about that file 
'version.c'. This is a created file, and it would be interesting to see 
how it looks like in your case. It probably sits in the directory
/sw/src/fink.build/openldap-ssl-2.1.22-25/openldap-2.1.22/libraries/liblutil

-- 
Martin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] OS X 10.3 Compile OpenLDAP errors

2006-08-21 Thread Waller Rick S
Hi Martin,

Thanks for responding!!

I was wondering where that file was hiding

Here's the contents..

/*
* Copyright 1998-2003 The OpenLDAP Foundation
* COPYING RESTRICTIONS APPLY.  See COPYRIGHT file in top level directory
* of this package for details.
*/
static const char copyright[] =
Copyright 1998-2003 The OpenLDAP Foundation\n
COPYING RESTRICTIONS APPLY\n;

static const char __Version[] =
@(#) $OpenLDAP: liblutil.a 2.1.22 ( __DATE__   __TIME__ ) $\n 
[EMAIL PROTECTED]
kristyandrick.com
stmarksingles.com
www.kofc12956.org
www.kristyandrick.com
www.stmarksingles.com
macweb.bedrock.com
noceweb.bedrock.com
noceweb.homeunix.net:/sw/src/fink.build/openldap-ssl-2.1.22-25/ 
openldap-2.1.22/libraries/liblutil\n;

-

A little background..  I host a few websites from this server...  
hence all of the domain names there..  Should I trim some of those  
host names out of the version.c file??

Thanks again!!

Rick


On Aug 21, 2006, at 2:36 AM, Martin Costabel wrote:

 Waller Rick S wrote:
 Hi,
 I am getting consistent errors while fink is trying to compile  
 the  OpenLDAP application.
 Has anyone seen this error or know what it is upset about??  I  
 can't  seem to get past this point at all...
 cc -g -O2 -I../../include-I../../include   -I/sw/include/ 
 db4 - DBIND_8_COMPAT -I/sw/include   -I/sw/include/db4 - 
 DBIND_8_COMPAT -I/ sw/include  -c -o version.o version.c
 version.c:11:61: missing terminating  character
 version.c:12: error: parse error before kristyandrick
 version.c:19:54: too many decimal points in number
 version.c:19:73: too many decimal points in number
 version.c:19: error: stray '\' in program
 version.c:19:100: missing terminating  character

 Well, it seems pretty clear that it is upset about that file  
 'version.c'. This is a created file, and it would be interesting to  
 see how it looks like in your case. It probably sits in the directory
 /sw/src/fink.build/openldap-ssl-2.1.22-25/openldap-2.1.22/libraries/ 
 liblutil

 -- 
 Martin




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] OS X 10.3 Compile OpenLDAP errors

2006-08-21 Thread Martin Costabel
Waller Rick S wrote:
[]
 static const char __Version[] =
 @(#) $OpenLDAP: liblutil.a 2.1.22 ( __DATE__   __TIME__ ) $\n 
 [EMAIL PROTECTED]
 kristyandrick.com
 stmarksingles.com
 www.kofc12956.org
 www.kristyandrick.com
 www.stmarksingles.com
 macweb.bedrock.com
 noceweb.bedrock.com
 noceweb.homeunix.net:/sw/src/fink.build/openldap-ssl-2.1.22-25/ 
 openldap-2.1.22/libraries/liblutil\n;

This file is produced, as you can see from your build log, by a shell 
script 'mkversion', and this uses the output of 'uname -n', apparently 
assuming that the output is one line only.

I don't know who is to blame here, whether or not you are allowed to 
have a multi-line output from `uname -n` and whether the mkversion 
script should be obliged to digest this into something a C compiler can 
understand, or what the situation is with multi-line strings anyway. In 
any case this is the origin of the problem, and if you want to get rid 
of it, try to educate your 'uname -n' to produce a one-liner.

-- 
Martin


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Wireshark availability for 10.3.x? (was Re: Spread the word.)

2006-08-21 Thread Daniel E. Macks
John Courcoul [EMAIL PROTECTED] said:

 Following up on Wireshark, will there be a backport of that project
 for 10.3/Panther users? If so, is there any timeframe for its
 availability?

 According to the package tracker off the main Fink homepage, it is
 currently only available on the 10.4/Unstable/Source tree. I don't
 have a problem with Source, but I haven't had a chance to upgrade to
 Tiger yet.

Max finished fixing some bugs in the wireshark (and wireshark-ssl)
packages on 10.4, and I just committed them to 10.3 after verifying
that they build and seem to run.

Please let us know how they work for you.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] commnd line vs FinkCommander web-proxy puzzle

2006-08-21 Thread Viv Kendon
I have an iMac G5 with two non-standard things about it:

a) It has to use a web-proxy to connect to the Internet 
(except local machines of course)

b) It is configured to use my local G5 as an rsync server 
and deb server.

When I run fink selfupdate, it still hits 
bindist.finkmirrors.net as well as quince.leeds.ac.uk.  Now 
the puzzle:

If I run fink selfupdate on the command line, it works.

If I run fink selfupdate in FinkCommander it can't connect 
to bindist.finkmirrors.net (it times out).  It is definitely 
doing rsync and not cvs, and I checked what FinkCommander 
thinks the environment it, and it shows the web-proxy 
configuration correctly.

Any idea how I could fix this?  This machine is used by 
someone else who can install their own software through 
fink, and who will prefer to use FinkCommander, being less 
happy with command line...

Many thanks for any clues,
-- Viv

Dr Viv Kendon   [EMAIL PROTECTED]
Quantum Information   tel: 0113 343 3858
Physics  Astronomy  University of Leeds
  http://quantum.leeds.ac.uk/~viv

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] building UB binaries from source

2006-08-21 Thread Wesley Smith
Hi,
I need to build UB binaries that link against some fink packages, so I
need fink to build UB binaries of the packages it downloads.  Is this
possible?  I've set fink to download souirce versions only to start,
but I don't know where to tell it to compile with CFLAGS=-arch i386
-arch ppc CXXFLAGS=-arch i386 -arch ppc?

thanks,
wes

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] building UB binaries from source

2006-08-21 Thread Alexander K. Hansen
On 8/21/06, Wesley Smith [EMAIL PROTECTED] wrote:
 Hi,
 I need to build UB binaries that link against some fink packages, so I
 need fink to build UB binaries of the packages it downloads.  Is this
 possible?  I've set fink to download souirce versions only to start,
 but I don't know where to tell it to compile with CFLAGS=-arch i386
 -arch ppc CXXFLAGS=-arch i386 -arch ppc?

 thanks,
 wes


Fink's not set up to do this automatically in any case.  Right now the
only way to do it would be to build the PowerPC stuff on a PowerPC,
Intel stuff on an Intel box, and lipo them together manually.
-- 
Alexander K. Hansen
Fink Documenter (still)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] building UB binaries from source

2006-08-21 Thread Benjamin Reed
Wesley Smith wrote:
 That's a shame.  Seems like a simple enough thing to do because it's
 just a command line switch.

It seems simple, but it's not.  :(

Out of the box, I'd say maybe 40% of stuff will work by just setting 
CFLAGS and friends (don't forget that unless you're on an intel mac, you 
also need -isysroot /Developer/SDKs/MacOSX10.4u in addition to -arch 
i386 -arch ppc).  Another 40% will work if you autoreconf after 
installing libtool 1.5.22 (libtools before 1.5.22 eat the -isysroot and 
maybe the -arch as well, and you end up with non-universal binaries 
anyways).

The other 20% are a mishmash of things that completely ignore flags, 
need custom hacks, and other ugly things.

Of those 80% that work with no changes or autoreconf changes, 10% or so 
do endianness checking at ./configure time instead of at compile time, 
and will build but generate bad code, and another 5% do some kind of 
custom host checking that enables crazy stuff.

I looked into this enough that the amount of work that would go into 
making this happen is considerably less than to just hand-build the few 
libs you need (which is what I did for the kde4 binaries I made) or to 
get the binaries for each and lipo them together.

-- 
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] libgda-1.0.4-1016 on MacIntel

2006-08-21 Thread Pepe Barbe
I am trying to build libgda-1.0.4-1016 on my Macbook and it craps in
the end. Any ideas of why might the problem?

Pepe


_version 3 -current_version 3.0
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
(cd .libs  rm -f libgda-2.1.dylib  ln -s libgda-2.1.1.0.dylib
libgda-2.1.dylib)
(cd .libs  rm -f libgda-2.dylib  ln -s libgda-2.1.1.0.dylib libgda-2.dylib)
ar cru .libs/libgda-2.a  gda-enum-types.o gda-blob.o gda-client.o
gda-command.o gda-config.o gda-connection.o gda-data-model.o
gda-data-model-array.o gda-data-model-hash.o gda-data-model-list.o
gda-error.o gda-export.o gda-field.o gda-init.o gda-log.o
gda-parameter.o gda-quark-list.o gda-row.o gda-select.o
gda-server-provider.o gda-table.o gda-transaction.o gda-util.o
gda-value.o gda-xml-connection.o gda-xml-database.o gda-xml-document.o
gda-xql-atom.o gda-xql-dual.o gda-xql-list.o gda-xql-utils.o
gda-xql-bin.o gda-xql-field.o gda-xql-query.o gda-xql-value.o
gda-xql-column.o gda-xql-func.o gda-xql-select.o gda-xql-valueref.o
gda-xql-const.o gda-xql-insert.o gda-xql-stack.o gda-xql-delete.o
gda-xql-item.o gda-xql-target.o gda-xql-dml.o gda-xql-join.o
gda-xql-update.o
ranlib .libs/libgda-2.a
creating libgda-2.la
(cd .libs  rm -f libgda-2.la  ln -s ../libgda-2.la libgda-2.la)
Making all in providers
Making all in mysql
if /bin/sh ../../libtool --mode=compile gcc -DPACKAGE_NAME=\\
-DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ -DPACKAGE_STRING=\\
-DPACKAGE_BUGREPORT=\\ -DPACKAGE=\libgda\ -DVERSION=\1.0.4\
-DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\libgda-2\ -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DGETTEXT_PACKAGE=\libgda-2\
-DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1  -I. -I.
-I../.. -I../.. -I/sw/include/libxml2 -I/sw/include
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
-I/usr/local/include  -no-cpp-precomp -I/sw/include   -g -O2 -Wall
-Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare  -MT gda-mysql-provider.lo -MD -MP -MF
.deps/gda-mysql-provider.Tpo \
  -c -o gda-mysql-provider.lo `test -f 'gda-mysql-provider.c' || echo
'./'`gda-mysql-provider.c; \
then mv -f .deps/gda-mysql-provider.Tpo .deps/gda-mysql-provider.Plo; \
else rm -f .deps/gda-mysql-provider.Tpo; exit 1; \
fi
mkdir .libs
 gcc -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\
-DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DPACKAGE=\libgda\
-DVERSION=\1.0.4\ -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\libgda-2\
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
-DGETTEXT_PACKAGE=\libgda-2\ -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
-DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
-DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I.
-I../.. -I../.. -I/sw/include/libxml2 -I/sw/include
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/usr/local/include
-no-cpp-precomp -I/sw/include -g -O2 -Wall -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-sign-compare -MT
gda-mysql-provider.lo -MD -MP -MF .deps/gda-mysql-provider.Tpo -c
gda-mysql-provider.c  -fno-common -DPIC -o .libs/gda-mysql-provider.o
distcc[22422] ERROR: compile (null) on localhost failed
In file included from ../../libgda/gda-field.h:27,
 from ../../libgda/gda-row.h:27,
 from ../../libgda/gda-data-model.h:30,
 from ../../libgda/gda-data-model-array.h:26,
 from gda-mysql-provider.c:25:
../../libgda/gda-value.h:183: warning: type qualifiers ignored on
function return type
In file included from gda-mysql-provider.c:30:
gda-mysql.h:34:19: error: mysql.h: No such file or directory
gda-mysql.h:35:23: error: mysql_com.h: No such file or directory
In file included from gda-mysql-provider.c:30:
gda-mysql.h:45: error: parse error before '*' token
gda-mysql.h:46: warning: 'enum enum_field_types' declared inside parameter list
gda-mysql.h:46: warning: its scope is only this definition or
declaration, which is probably not what you want
In file included from gda-mysql-provider.c:31:
gda-mysql-recordset.h:46: error: parse error before 'MYSQL_RES'
gda-mysql-recordset.h:46: warning: no semicolon at end of struct or union
gda-mysql-recordset.h:48: error: parse error before '}' token
gda-mysql-recordset.h:55: error: parse error before 'MYSQL_RES'
gda-mysql-provider.c: In function 

Re: [Fink-users] building UB binaries from source

2006-08-21 Thread Wesley Smith
Ahh.  Thanks for the info.  I guess I've mostly been compiling clean
libs then.  Good to know about lipo too.  I didn't know about that
option.

regards,
wes

On 8/21/06, Benjamin Reed [EMAIL PROTECTED] wrote:
 Wesley Smith wrote:
  That's a shame.  Seems like a simple enough thing to do because it's
  just a command line switch.

 It seems simple, but it's not.  :(

 Out of the box, I'd say maybe 40% of stuff will work by just setting
 CFLAGS and friends (don't forget that unless you're on an intel mac, you
 also need -isysroot /Developer/SDKs/MacOSX10.4u in addition to -arch
 i386 -arch ppc).  Another 40% will work if you autoreconf after
 installing libtool 1.5.22 (libtools before 1.5.22 eat the -isysroot and
 maybe the -arch as well, and you end up with non-universal binaries
 anyways).

 The other 20% are a mishmash of things that completely ignore flags,
 need custom hacks, and other ugly things.

 Of those 80% that work with no changes or autoreconf changes, 10% or so
 do endianness checking at ./configure time instead of at compile time,
 and will build but generate bad code, and another 5% do some kind of
 custom host checking that enables crazy stuff.

 I looked into this enough that the amount of work that would go into
 making this happen is considerably less than to just hand-build the few
 libs you need (which is what I did for the kde4 binaries I made) or to
 get the binaries for each and lipo them together.

 --
 Benjamin Reed a.k.a. Ranger Rick
 http://ranger.befunk.com/




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users