openload only fail on snow leopard

S. M. Ibrahim (Lavlu) smibrahim at gmail.com
Mon May 3 02:40:44 PDT 2010


hi,

i added openload port in macport few month ago. it's compile fine on
leopard but always fail on snow leopard. as i am not very export with
port files. need your help.

compile fail message:

Lavludas-MBP:~ lavlu$ sudo port install -d openload
--->  Computing dependencies for openload
--->  Fetching openload
--->  Verifying checksum(s) for openload
--->  Extracting openload
--->  Configuring openload
--->  Building openload
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_openload/work/openload-0.1.2"
&& /usr/bin/make -j2 all " returned error 2
Command output: Making all in src
/usr/bin/g++-4.2 -DPACKAGE=\"openload\" -DVERSION=\"0.1.2\"
-DSTDC_HEADERS=1  -I. -I.    -I/opt/local/include  -O2 -arch x86_64 -c
sock.cpp
/usr/bin/g++-4.2 -DPACKAGE=\"openload\" -DVERSION=\"0.1.2\"
-DSTDC_HEADERS=1  -I. -I.    -I/opt/local/include  -O2 -arch x86_64 -c
event_loop.cpp
/usr/bin/g++-4.2 -DPACKAGE=\"openload\" -DVERSION=\"0.1.2\"
-DSTDC_HEADERS=1  -I. -I.    -I/opt/local/include  -O2 -arch x86_64 -c
http_client.cpp
http_client.cpp: In function 'void SendCommand(CTcpSock*)':
http_client.cpp:125: warning: deprecated conversion from string
constant to 'char*'
http_client.cpp:127: warning: deprecated conversion from string
constant to 'char*'
http_client.cpp:129: warning: deprecated conversion from string
constant to 'char*'
/usr/bin/g++-4.2 -DPACKAGE=\"openload\" -DVERSION=\"0.1.2\"
-DSTDC_HEADERS=1  -I. -I.    -I/opt/local/include  -O2 -arch x86_64 -c
http_test.cpp
In file included from verifier.h:22,
                 from http_test.cpp:2:
tmplchunk.h:34: error: extra qualification 'CTmplChunk::' on member 'Verify'
http_test.cpp: In function 'int main(int, char**)':
http_test.cpp:294: warning: format '%d' expects type 'int', but
argument 3 has type 'long int'
http_test.cpp:344: warning: format '%d' expects type 'int', but
argument 9 has type 'long int'
make[1]: *** [http_test.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag
to get complete output.
Lavludas-MBP:~ lavlu$



port file:

PortSystem          1.0

name                openload
version             0.1.2
categories          net
maintainers         gmail.com:smibrahim
description         Load testing of web applications.
long_description    OpenWebLoad is a tool for load testing web
applications. It aims to be easy to use and providing near \
                    real-time performance measurements of the
application under test. This is particulary useful when you\
                    are doing optimization as you can see the impact
of your changes almost immediately.

homepage            http://openwebload.sourceforge.net/
platforms           darwin
master_sites        http://www.sfr-fresh.com/unix/privat/

checksums           md5 f6e1cea4ad8c87c1aa9abac92583be77 \
                    sha1 2a425a362fc94a7e81dd96036600236f60bd79ec \
                    rmd160 830a8214795e8e3f7ad9ecc3480eee64f4aeda17

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
      ${destroot}${prefix}/share/doc/${name}
}


can you please tell me how can i fix it ?

-- 
S. M. Ibrahim Lavlu
software engineer, php
somewhere in...
http://www.somewherein.net

bangla blog: http://www.somewhereinblog.net
my blog: http://www.lavluda.com
mac blog: htttp://www.mac-talks.com
my book: http://www.lavluda.com/2009/07/08/my-book-on-cacti/


More information about the macports-dev mailing list