[Fink-devel] Which version of Autoconf/Automake?

2002-11-07 Thread Erik de Castro Lopo
Hi all,

I do all my development work on Linux but would like to produce a tarball
which compiles on Mac OS X (10.1 and 10.2) without any messing about.

Which version of autoconf and automake should I be using on Linux?

Thanks,
Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
Windows: Proof that Microsoft has a roomful of monkeys with keyboards.


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] getopt_long in 10.2

2002-07-10 Thread Erik de Castro Lopo

On Wed, 10 Jul 2002 14:45:51 -0600
Justin Hallett [EMAIL PROTECTED] wrote:

 install gengetopt.  It's GNU getopt with the getopt long function but it's

Is this part of fink? apt-get can't seem to find it.

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
I love deadlines. I especially like the whooshing sound 
they make as they go flying by.  -- Douglas Adams


---
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



[Fink-devel] CVS weridness

2002-06-15 Thread Erik de Castro Lopo

Hi all,

I have 2 x86 Linux (Debian testing) machines and an iBook running OS X on 
the same 192.168 network and a CVS repository on one of the Linux machines. 

Cvs login from both of the Linux machines is fine but fails from the iBook. 
The iBook's IP address is listed in the hosts.allow of the CVS server. Trying
to log with the same user/password on bothe machines.

The only issue I can think of is that the versions of CVS differ, 1.11.1p1 on 
the Linux machines and 1.11 on the iBook. 

Is this a know issue?

TIA,
Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
If you need a piece of paper and a pen to explain it, 
then its not bleedin' obvious -- Erik's First Law

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] libtool :-(

2002-06-09 Thread Erik de Castro Lopo

On Sun, 09 Jun 2002 16:38:08 -0700
Bruce Korb [EMAIL PROTECTED] wrote:

 Erik de Castro Lopo wrote:
 
   I applied the patch to this:
  
 http://autogen.sf.net/data/autogen-5.3.8pre5.tar.gz
  
  Great program! It would be nice to have that on OS X.
 
 Thank you.  Do we have it yet?  :-)  

No, I use it on Debian Linux where all I have to do is apt-get 
it :-).

 Viz., did you try to build it?  

Not game :-). Building stuff on OSX can involve a bit of pain and 
I'm only willing to go through that for my own software :-).

Cheers,
Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
Microsoft is not the answer.
Microsoft is the question. NO is the answer.

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] libtool :-(

2002-06-08 Thread Erik de Castro Lopo

On Fri, 7 Jun 2002 22:48:18 -0400
David R. Morrison [EMAIL PROTECTED] wrote:

 You might have to edit ltmain.sh by hand, in order to apply Dave's patch...

Ouch. A bit ugly, but it worked :-).

Thans to all.

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
He's a born-again Christian. The trouble is, he suffered brain 
damage during rebirth.

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



[Fink-devel] #if (defined(__MACH__) defined(__APPLE__))

2002-06-07 Thread Erik de Castro Lopo

Hi all,

Is this

   #if  (defined(__MACH__)  defined(__APPLE__))

the standard way of determining whether C code is being compiled
on MacOSX or is there some other preferred method?

Thanks in advance,
Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
BSD:  A psychoactive drug, popular in the 80s, probably developed at UC
Berkeley or thereabouts.  Similar in many ways to the prescription-only
medication called System V, but infinitely more useful. (Or, at least,
more fun.)  The full chemical name is Berkeley Standard Distribution.

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



[Fink-devel] ASM in C file ; porting from CodeWarrior - OSX

2002-06-07 Thread Erik de Castro Lopo

Hi all,

Does anyboy have any idea how to port his code from CodeWarrior
to OSX?

inline int 
float2int (register float in) 
{   long res [2] ;

asm
{   fctiw   in,in
stfdin,res
}

return res [1] ;
}

Thanks in advance,
Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
If dolphins are so smart, why do they live in igloos? -Eric Cartman

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



[Fink-devel] libtool :-(

2002-06-07 Thread Erik de Castro Lopo

Hi People,

I'm the author of libsndfile ( http://www.zip.com.au/~erikd/libsndfile/ )
a cross platform library for reading and writing audio files. 

The vast majority of my development work is done on Debian Linux but I 
have a large number of users on other Unixen, Win32 and MacOS (OS 9 and 
OSX). Until recently I had few if any reports of problems. 

The problems began when I upgraded my Debian machine from Potato to Woody.
This upgrade changed the version of autoconf/automake/libtool which I had
been using to generate the source tarballs I had been distributing. The
configure/libtool scripts in the tarball now fail to build on OSX. 

Since I have recently bought myself an iBook which is running OS 9, OSX
and Linux I now have an opportunity to get to the bottom of this. However
I would not like to repeat the work of others stomping the same ground
so I ask

   1) Is anybody else having this problem?
   2) Is anybody working on it?
   3) Where are they up to?
   4) How close is a solution?
   5) Are people pushing their solutions back to the autoconf/automake/
  libtool etc maintainers?

I have tried using the Fink autoconf/automake/libtool set and reconfiguring
on OSX but this still does fix the problems on my library.

Cheers,
Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
I once worked for a company where as part of the BS5750 Quality
process I attended a meeting where I was informed that it was Company
Policy not to use free software. When I asked him for his written
authorisation for me to remove X Windows from our Sun workstations,
he backtracked.   -- Phil Hunt

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] libtool :-(

2002-06-07 Thread Erik de Castro Lopo

On Fri, 7 Jun 2002 21:11:14 -0400
David R. Morrison [EMAIL PROTECTED] wrote:

 Hi Erik.  You haven't told us what problem you're having!
 
 We've run into a number of different libtool problems, and have done our
 best to address them.  We send patches back to the libtool team but I'm
 not sure if all of them have been accepted.
 
 You might have a look at http://fink.sourceforge.net/doc/porting/libtool.php
 to see if your issues are addressed there.  If not, please give us a
 detailed report about how libtool is failing you.

OK, I think its the convienence libray thing.

My library (libsndfile) has two source code sub directorys. The results
of compiling these two sub dirs are two static libraries which are 
linked with the code in the main source dir to create libsndfile (both
static and shared).

The errors I'm getting loof like this :

gcc -dynamiclib -flat_namespace -undefined suppress -o 
.libs/libsndfile.1.0.0.dylib \
 sndfile.lo common.lo file_io.lo format.lo pcm.lo ulaw.lo alaw.lo float32.lo \
 double64.lo ima_adpcm.lo ms_adpcm.lo gsm610.lo dwvw.lo aiff.lo au.lo 
au_g72x.lo \
 nist.lo paf.lo raw.lo samplitude.lo svx.lo wav.lo wav_w64.lo voc.lo ircam.lo \
 w64.lo sd2.lo rx2.lo txw.lo -all_load  \
 GSM610/.libs/libgsm.al G72x/.libs/libg72x.al  GSM610/.libs/libgsm.al \
 G72x/.libs/libg72x.al -lc -install_name  /usr/local/lib/libsndfile.1.dylib \
 -compatibility_version 2 -current_version 2.0

ld: multiple definitions of symbol _gsm_A
GSM610/.libs/libgsm.al(add.lo) definition of _gsm_A in section (__DATA,__common)
GSM610/.libs/libgsm.al(decode.lo) definition of _gsm_A in section (__DATA,__common)
ld: multiple definitions of symbol _gsm_B
GSM610/.libs/libgsm.al(add.lo) definition of _gsm_B in section (__DATA,__common)

In other words, ld complaining about redefinition of symbols which are in the 
convienience library. I tried Dave Vasilevsky's patch but it didn't want to
apply against the ltmain.sh in my tarball.

Any clues?

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
Microsoft : Yesterday's software running on today's
hardware tomorrow.

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] ASM in C file ; porting from CodeWarrior - OSX

2002-06-07 Thread Erik de Castro Lopo

On Fri, 7 Jun 2002 21:28:20 -0400
Alexander Strange [EMAIL PROTECTED] wrote:

 int float2int(register float in)
 {
 return (int)in;
 }

Hmm. 

I'm not an expert on PPC, in fact I've only had one for three days. 

However I know that on x86 a bit of inline assember can improve
the execution speed of float/double to int casts by a factor of
8 or more. 

In fact, I wrote a paper on it:

http://mega-nerd.com/FPcast/

Now that I have a PPC machine I will compare the standard C cast
against a function similar to the one I posted. I cannot do that
until I can convert the code, so if anyone knows how to do it,
I would appreciate hearing from them.

Regards,
Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
Reality is just a crutch for people that can't handle CyberSpace!!
- Hank Duderstadt

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel