Thanks for the analysis. I'm swamped now, but I'll change the Makefile to use Perl instead sometime next week.

Chris

On Wednesday, March 19, 2003, at 02:40 AM, Martin Costabel wrote:

Alexander Hansen wrote:
I was able to build it with no problems today.  If it's important I'm
using sed-4.0.5-1 from fink, and my grep is 2.4.2-3 from fink.

Yes, it's important. Building sswf works with GNU sed installed by Fink, but not with /usr/bin/sed.


So the package needs either to

a) have a dependency on the sed package or
b) be patched so that it uses a syntax that Apple's sed can understand.
   The '\+' is a GNU extension to regular expressions that apparently
   is not understood by /usr/bin/sed.

I would prefer b), because I think that every system command that is replaced by a Fink version is an argument against Fink.

--
Martin

On Tue, 2003-03-18 at 12:24, Martin Costabel wrote:
I am getting the same error. Looks like a buggy GNUmakefile.osx. There is a line

VERSION:=$(shell grep "\<SSWF_VERSION\>" libsswf-version.h | sed -e 's/.*\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/')

It is supposed to extract the version number from a line like


#define SSWF_VERSION 1.4.3

Instead it extracts the whole line. I wonder how this has ever worked...


On mardi, mars 18, 2003, at 11:22 Europe/Paris, Adam Witney wrote:


Hi, I am trying to install sswf, but get the following errors....

Anyone know what is wrong with this?

(OSX 10.2.4)

Thanks

adam


ar cr libsswf.a object/libsswf_file.o object/libsswf_memory.o
object/libsswf_tags.o object/libsswf_util.o object/libsswf_vectors.o
ranlib -c libsswf.a
make -f GNUMakefile.osx libsswf.dylib INCLUDE_PREFIX=/sw/include
LIB_PREFIX=/sw/lib MORE_LD_FLAGS="-install_name /sw/lib/libsswf.1.dylib"
g++ -L/sw/lib/ -dynamiclib -compatibility_version #define SSWF_VERSION
1.4.3 -current_version #define SSWF_VERSION 1.4.3 -install_name
/sw/lib/libsswf.1.dylib -o libsswf.dylib libsswf.a
/usr/bin/libtool: first field (-lstdc++) in argument for:
-compatibility_version -lstdc++ not a proper unsigned number
Usage: /usr/bin/libtool -static [-] file [...] [-filelist
listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist
listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name]
[-compatibility_version #] [-current_version #] [-seg1addr 0x#]
[-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]
[-noall_load]
make: *** [libsswf.dylib] Error 1
### execution of failed, exit code 2
Failed: compiling sswf-1.4.3-1 failed




-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to