[Fink-devel] Leopard, various porting-issues

2007-11-17 Thread Alexey Zakhlestin
I tried to compile php-5.3 from sources (I regullary did it on tiger)
and had several unexpected results. I wonder if these were ever
documented

1) iconv_open and iconv_close are private on leopard, while public
functions are libiconv_open and libiconv_close
2) leopard's libtool (gcc?) sometimes creates something.dSYM bundle
istead of something binary which makes autoconf sad (see:
http://www.google.com/search?hl=ensafe=offclient=operarls=enhs=c8yq=+site:spteam-lists.blogspot.com+conftest.dSYM+autoconf+leopard)
3) the resulting binary of php was php.dSYM (no bundle this time,
just binary with suffix)

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] PDB web interface

2007-11-17 Thread Alexey Zakhlestin
Maybe it could be optimized to search only using name index?
without looking at description, etc.?
that should be fast

On 11/17/07, Daniel Macks [EMAIL PROTECTED] wrote:
 I've turned it off for now (browse.php and search.php return static
 text, editted directly on finch, back-end update script commented out
 in cron.d/pdb) We just don't have the power cap'n! Better to have the
 website itself and rsync and source-tarball masters working. Heck,
 even with the PDB search activated, it still wasn't working.

 dan

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


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Fink-devel mailing list
 Fink-devel@lists.sourceforge.net
 http://news.gmane.org/gmane.os.apple.fink.devel



-- 
Alexey Zakhlestin
http://blog.milkfarmsoft.com/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Leopard, various porting-issues

2007-11-17 Thread Martin Costabel
Alexey Zakhlestin wrote:

 2) leopard's libtool (gcc?) sometimes creates something.dSYM bundle
 istead of something binary which makes autoconf sad (see:
 http://www.google.com/search?hl=ensafe=offclient=operarls=enhs=c8yq=+site:spteam-lists.blogspot.com+conftest.dSYM+autoconf+leopard)
 3) the resulting binary of php was php.dSYM (no bundle this time,
 just binary with suffix)

As pogma explained in the thread [Fink-devel] I need help with a2ps 6 
days ago, using a very recent autoconf should solve this problem. Or 
define ac_cv_exeext='' when running configure.

-- 
Martin




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Leopard, various porting-issues

2007-11-17 Thread Alexey Zakhlestin
On 11/17/07, Martin Costabel [EMAIL PROTECTED] wrote:
 As pogma explained in the thread [Fink-devel] I need help with a2ps 6
 days ago, using a very recent autoconf should solve this problem.

The latest we have in fink is 2.60 and it is not new enough

-- 
Alexey Zakhlestin
http://blog.milkfarmsoft.com/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] coreutils-6.9-3 fails tests

2007-11-17 Thread Robert T Wyatt
Hi Aida,

I'm on an intel machine, not ppc, but I tried this anyway. This is what 
I got:

PASS: stat-printf
./tac-continue: FULL_PARTITION_TMPDIR not defined; skipping this test
SKIP: tac-continue
PASS: test-diag
tty-eof: tail didn't exit after ^D from standard input
FAIL: tty-eof
==
1 of 42 tests failed
(4 tests were not run)
Please report to [EMAIL PROTECTED]
==
make[3]: *** [check-TESTS] Error 1
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1
### execution of /var/tmp/tmp.1.sQxi6V failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-coreutils-6.9-3a
(Reading database ... 234610 files and directories currently installed.)
Removing fink-buildlock-coreutils-6.9-3a ...
Failed: phase compiling: coreutils-6.9-3a failed

AIDA Shinra wrote:
 At Thu, 15 Nov 2007 10:45:05 -0600,
 Robert T Wyatt wrote:
 I'm pretty sure that I posted at least as much as is pertinent, but the 
 rest of it is here if you need it: 
 http://ccwf.cc.utexas.edu/~robert/intel/coreutils-6.9-3.txt
 
 Can you test the following patch? I guess something is wrong in ACL
 implementation.
 
 Index: coreutils.info
 ===
 RCS file: 
 /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils/coreutils.info,v
 retrieving revision 1.15
 diff -u -r1.15 coreutils.info
 --- coreutils.info15 Nov 2007 12:59:17 -  1.15
 +++ coreutils.info17 Nov 2007 03:09:52 -
 @@ -14,7 +14,7 @@
#!/bin/sh -ex
case `uname -r` in
  [0-8].*) ./configure %c;;
 -*) ./configure jm_cv_func_svid_putenv=yes %c;;
 +*) ./configure jm_cv_func_svid_putenv=yes 
 gl_cv_func_working_acl_get_file=no %c;;
esac
make
make check
 
 P.S. If 10.5 on powerpc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Leopard, various porting-issues

2007-11-17 Thread Daniel Johnson


On Nov 17, 2007, at 9:44 AM, Alexey Zakhlestin [EMAIL PROTECTED]  
wrote:

 On 11/17/07, Martin Costabel [EMAIL PROTECTED] wrote:
 As pogma explained in the thread [Fink-devel] I need help with  
 a2ps 6
 days ago, using a very recent autoconf should solve this problem.

 The latest we have in fink is 2.60 and it is not new enough

Leopard comes with autoconf 2.61 which is the latest version. Try  
calling /usr/bin/autoconf instead of just autoconf. Leopard's  
automake is newer also, so you might want to use that as well.

Daniel


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Leopard, various porting-issues

2007-11-17 Thread Peter O'Gorman
Alexey Zakhlestin wrote:
 On 11/17/07, Martin Costabel [EMAIL PROTECTED] wrote:
 As pogma explained in the thread [Fink-devel] I need help with a2ps 6
 days ago, using a very recent autoconf should solve this problem.
 
 The latest we have in fink is 2.60 and it is not new enough

You'd need to grab autoconf from git for this to work.

I could not follow the link you posted, links brought up a page that
said Your search returned no results.

gcc calls dsymutil when it creates an executable directly from a source
file with debugging enabled. e.g.

gcc -o foo -g foo.c

This is so that debugging information will be available (with Xcode-3.0
the default debugging format is dwarf).

Some autoconf macros test for features using $CC $CFLAGS -o conftest
conftest.c then rm conftest*, this usually results in a warning during
configure, however really old autoconfs fail to detect the correct exe
extension and instead of '' set it to '.dSYM', this causes some problems :)

Perhaps php uses a custom test for exeext, because I thought this
problem did not occur on newer autoconf releases. Anyway, the proper
forum is probably either [EMAIL PROTECTED] or the php lists.

Hope this helps,
Peter


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] fixes for grace+pdflib6 under intel/leopard

2007-11-17 Thread Robert T Wyatt
Martin Costabel wrote:
 Alexander K. Hansen wrote:
 []
 10.4 and 10.5 share a distribution; the package web listing is having
 issues; and Jack's update is still on the package submission tracker
 and has not been added to Fink yet.
 
 If you mean pdflib6, this has been added to Fink last week. Since all 
 dependencies of grace are now available, there is no more reason to 
 block it for 10.5. In fact, I have just built grace-5.1.21-2 
 successfully on 10.5/intel, and I have unblocked it on CVS, so that it 
 is now available for Leopard.

works for me! :-)
(intel/leopard)

 
 Don't pay attention to the package database on the web, in particular 
 when it talks about availability for 10.5; it is having issues, as 
 Alex is putting it politely :-(
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] mp3info compile error

2007-11-17 Thread William Xu
The following message is a courtesy copy of an article
that has been posted to gmane.os.apple.fink.general as well.

The following package will be installed or updated:
 mp3info
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-mp3info-0.8.5a-1 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-mp3info-0.8.5a-1' in 
`/sw/src/fink.build/fink-buildlock-mp3info-0.8.5a-1_2007.11.16-13.35.44_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-mp3info-0.8.5a-1_2007.11.16-13.35.44_darwin-i386.deb
Selecting previously deselected package fink-buildlock-mp3info-0.8.5a-1.
(Reading database ... 37004 files and directories currently installed.)
Unpacking fink-buildlock-mp3info-0.8.5a-1 (from 
.../fink-buildlock-mp3info-0.8.5a-1_2007.11.16-13.35.44_darwin-i386.deb) ...
Setting up fink-buildlock-mp3info-0.8.5a-1 (2007.11.16-13.35.44) ...
gzip -dc /sw/src/mp3info-0.8.5a.tgz | /sw/bin/tar -xf -  --no-same-owner 
--no-same-permissions 
patch -p1  /sw/fink/dists/unstable/main/finkinfo/sound/mp3info.patch
patching file Makefile
/var/tmp/tmp.1.u8OpKP
#!/bin/sh -ev
  make mp3info
gcc -g -O2 -Wall -I/sw/include  -c -o mp3info.o mp3info.c
gcc -g -O2 -Wall -I/sw/include  -c -o textfunc.o textfunc.c
gcc -g -O2 -Wall -I/sw/include  -c -o mp3curs.o mp3curs.c
gcc -g -O2 -Wall -I/sw/include  -c -o mp3tech.o mp3tech.c
mp3tech.c: In function 'sameConstant':
mp3tech.c:282: error: 'uint' undeclared (first use in this function)
mp3tech.c:282: error: (Each undeclared identifier is reported only once
mp3tech.c:282: error: for each function it appears in.)
mp3tech.c:282: error: syntax error before ')' token
mp3tech.c:282: error: syntax error before ')' token
make: *** [mp3tech.o] Error 1
### execution of /var/tmp/tmp.1.u8OpKP failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-mp3info-0.8.5a-1
(Reading database ... 37005 files and directories currently installed.)
Removing fink-buildlock-mp3info-0.8.5a-1 ...
Failed: phase compiling: mp3info-0.8.5a-1 failed

-- 
William

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] problem with structure in D-Bus

2007-11-17 Thread t_charles
Hi,
Iwant to send and receive such a structure  a(is(idd)(idd)) with D-Bus
I proceed as follow: 

I have first of all i create the following procedure to help me do what I want.

// append a integer in a GValueArray 
static void
_gvalue_array_append_int(GValueArray *g_val_array, gint v_int)
{
  GValue val ={0};
  g_value_init(val, G_TYPE_INT);
  g_value_set_int(val, v_int);
  g_value_array_append(g_val_array, val);
  g_value_unset(val);
}

// append a double in a GValueArray 
static void
_gvalue_array_append_double(GValueArray *g_val_array, gdouble v_double)
{
  GValue val ={0};
  g_value_init(val, G_TYPE_DOUBLE);
  g_value_set_double(val, v_double);
  g_value_array_append(g_val_array, val);
  g_value_unset(val);
}

// append a pointer in a GValueArray 
static void
_gvalue_array_append_pointer (GValueArray *g_val_array, gpointer v_pointer)
{
  GValue val ={0};
  g_value_init(val, G_TYPE_POINTER);
  g_value_set_pointer(val, v_pointer);
  g_value_array_append(g_val_array, val);
  g_value_unset(val);
}

// append a string in a GValueArray

static void
_gvalue_array_append_string(GValueArray *g_val_array, const gchar *v_string)
{
  GValue val ={0};
  g_value_init(val, G_TYPE_STRING);
  g_value_set_string(val, v_string);
  g_value_array_append(g_val_array, val);
  g_value_unset(val);
}


// create the GValueArray structure (idd)
void 
_gvalue_array_vector (GValueArray *g_val_array, gint v_int, double x, double y)
{
_gvalue_array_append_int (g_val_array, v_int);
_gvalue_array_append_double(g_val_array, x);
_gvalue_array_append_double(g_val_array, y);
}

  GPtrArray* gp_plugs;//a(is(idd)(idd))
  gp_plugs = g_ptr_array_new();
  GValueArray *plug_a, *plug_b; // each contains such a structure 
(is(idd)(idd))
  GValueArray *vector_a, *vector_b, *vector_c, *vector_d; // each contains 
(idd)

  plug_a = g_value_array_new ();
  _gvalue_array_append_int (plug_a, 1);
  _gvalue_array_append_string(plug_a, SKN); // (is)

  vector_a = g_value_array_new ();
  _gvalue_array_vector (vector_a, 1, 0.0, 0.0); // (idd)
  _gvalue_array_append_pointer(plug_a, vector_a); //(is(idd))

  vector_b = g_value_array_new ();
  _gvalue_array_vector (vector_b, 2, 0.0, -100.0); // (idd)
  _gvalue_array_append_pointer(plug_a, vector_b);  // (is(idd)(idd))

  g_ptr_array_add(gp_plugs, (gpointer)plug_a); // add the first element
// of the plug structure  a(is(idd)(idd)) 

// then a create the second element as follow 
  plug_b = g_value_array_new ();
  _gvalue_array_append_int (plug_b, 2);
  _gvalue_array_append_string(plug_b, AMSK); // (is)

  vector_c = g_value_array_new ();
  _gvalue_array_vector (vector_c, 3, 40.0, 0.0);  // (idd)
  _gvalue_array_append_pointer(plug_b, vector_c); //(is(idd))

  vector_d = g_value_array_new (4);
  _gvalue_array_vector (vector_d, 4, 40.0, -100.0); // (idd)
  _gvalue_array_append_pointer(plug_b, vector_d);  // (is(idd)(idd))

  g_ptr_array_add(gp_plugs, (gpointer)plug_b);  // add the second element
// of the plug structure  a(is(idd)(idd)) 

I would like to know if the way I use to build the structure is good, because I 
proceed like this and i obtain errors that i don't succeed to solve.
Thanks to answer me 
Charles
 regards,


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] coreutils-6.9-3 fails tests

2007-11-17 Thread Robert T Wyatt
It has built and installed now on intel/leopard. Thanks for whatever 
changed...!

AIDA Shinra wrote:
 At Thu, 15 Nov 2007 10:45:05 -0600,
 Robert T Wyatt wrote:
 I'm pretty sure that I posted at least as much as is pertinent, but the 
 rest of it is here if you need it: 
 http://ccwf.cc.utexas.edu/~robert/intel/coreutils-6.9-3.txt
 
 Can you test the following patch? I guess something is wrong in ACL
 implementation.
 
 Index: coreutils.info
 ===
 RCS file: 
 /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils/coreutils.info,v
 retrieving revision 1.15
 diff -u -r1.15 coreutils.info
 --- coreutils.info15 Nov 2007 12:59:17 -  1.15
 +++ coreutils.info17 Nov 2007 03:09:52 -
 @@ -14,7 +14,7 @@
#!/bin/sh -ex
case `uname -r` in
  [0-8].*) ./configure %c;;
 -*) ./configure jm_cv_func_svid_putenv=yes %c;;
 +*) ./configure jm_cv_func_svid_putenv=yes 
 gl_cv_func_working_acl_get_file=no %c;;
esac
make
make check
 
 P.S. If 10.5 on powerpc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Leopard, various porting-issues

2007-11-17 Thread Alexey Zakhlestin
On 11/17/07, Peter O'Gorman [EMAIL PROTECTED] wrote:
 Alexey Zakhlestin wrote:
  On 11/17/07, Martin Costabel [EMAIL PROTECTED] wrote:
  As pogma explained in the thread [Fink-devel] I need help with a2ps 6
  days ago, using a very recent autoconf should solve this problem.
 
  The latest we have in fink is 2.60 and it is not new enough

 You'd need to grab autoconf from git for this to work.

I just thought, that having a patched version of autoconf in fink
would be quite useful, until official update arrives.

 I could not follow the link you posted, links brought up a page that
 said Your search returned no results.

 gcc calls dsymutil when it creates an executable directly from a source
 file with debugging enabled. e.g.

 gcc -o foo -g foo.c

 This is so that debugging information will be available (with Xcode-3.0
 the default debugging format is dwarf).

thanks for the theory. always good to know the cause of changes. :)


 Some autoconf macros test for features using $CC $CFLAGS -o conftest
 conftest.c then rm conftest*, this usually results in a warning during
 configure, however really old autoconfs fail to detect the correct exe
 extension and instead of '' set it to '.dSYM', this causes some problems :)

 Perhaps php uses a custom test for exeext, because I thought this
 problem did not occur on newer autoconf releases. Anyway, the proper
 forum is probably either [EMAIL PROTECTED] or the php lists.

I guess, php-guys will just send me to autoconf-guys ;)

-- 
Alexey Zakhlestin
http://blog.milkfarmsoft.com/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] scilab-4.1.2-1000 on fink tracking

2007-11-17 Thread Jack Howarth
   I've posted updated packaging for scilab on
fink tracking. The new scilab-4.1.2-1000 package
builds the latest revision of scilab and uses
gfortran instead of g95 so it can be built under
Leopard. I've tested it with an svn pull of the
scilab tests directory and it seems to pass well.
Jack

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] ncarg and Leopard

2007-11-17 Thread Jack Howarth
   I've worked up packaging for ncarg under
Leopard using gfortran but the resulting build
won't work properly. This is because gfortran
suffers a regression from g77 in supporting
compatible block data initialization...

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34136
http://gcc.gnu.org/ml/fortran/2007-11/msg00122.html
http://gcc.gnu.org/ml/fortran/2007-11/msg00131.html
http://gcc.gnu.org/ml/fortran/2007-11/msg00132.html
http://gcc.gnu.org/ml/fortran/2007-11/msg00134.html
http://gcc.gnu.org/ml/fortran/2007-11/msg00137.html

I'm not sure if this (when fixed) will be backported
to gcc 4.2.2 so we may have to wait for gcc 4.3
which is slated for a Spring release.
 Jack

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] libmpfr1-2.3.0-1 still on fink tracking

2007-11-17 Thread Jack Howarth
Dave,
Could we get the libmpfr1-2.3.0-1 packaging on fink tracking into
fink unstable? It's been there for quite sometime now.

http://sourceforge.net/tracker/index.php?func=detailaid=1785581group_id=17203atid=414256

Thanks in advance.
 Jack

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel