Changeset 2724

Show
Ignore:
Timestamp:
06/06/07 13:31:50 (1 year ago)
Author:
tg
Message:

• 10:36⎜<mira|work:#freewrt> ecppc: can't load library 'libtntnet_sdk.so.6.1'

10:36⎜<mira|work:#freewrt> DID ANYONE *EVER* TEST THIS?

• I want the server
• don't build the demos (slow)
• disable shared (like cxxtools)
• unbreak in general (potentially)

still doesn't work right:
tg@odem:~/w/hellow $ make
env "PATH=$PATH:/home/.data/tg/svn/trunk/freewrt/cross_mipsel/host/bin" ecppc hellow.ecpp
c++ -O2 -pipe -I/home/.data/tg/svn/trunk/freewrt/cross_mipsel/host/include -fPIC -O2 -c hellow.cpp
c++ -o hellow.so -shared -L/home/.data/tg/svn/trunk/freewrt/cross_mipsel/host/lib -ltntnet -lcxxtools hellow.o
tg@odem:~/w/hellow $ make test
env "PATH=$PATH:/home/.data/tg/svn/trunk/freewrt/cross_mipsel/host/bin" tntnet -c tntnet.conf
2007-06-06 11:30:18.26612 [17167.0x85f3a000] INFO tntnet.tntnet - create 5 worker threads
2007-06-06 11:30:50.64374 [17167.0x82590800] INFO tntnet.worker - process request: GET /hellow from client 127.0.0.1 user-Agent "Lynx/2.8.7dev.5-MirOS (compatible; MSIE 6.0; UNIX) libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7m"
2007-06-06 11:30:50.64450 [17167.0x82590800] WARN tntnet.worker - unexpected exception: locale::facet::_S_create_c_locale name not valid

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/tools/tntnet/Makefile

    r2678 r2724  
    77PKG_NAME:=              tntnet 
    88PKG_VERSION:=           1.5.3.6 
    9 PKG_RELEASE:=           2 
     9PKG_RELEASE:=           3 
    1010PKG_MD5SUM:=            2108da4e68b22b2e6260c21964cee685 
    1111MASTER_SITES:=          http://www.tntnet.org/download/ 
     
    1616$(WRKBUILD)/.configured: ${WRKBUILD}/.prepared 
    1717        @mkdir -p $(STAGING_TOOLS)/bin 
    18         (cd $(WRKBUILD); rm -rf config.cache; \ 
    19                PATH=$(STAGING_TOOLS)/bin:$$PATH \ 
    20                LDFLAGS="-L$(STAGING_TOOLS)/lib" \ 
    21                CPPFLAGS="-I$(STAGING_TOOLS)/include" \ 
    22                ./configure \ 
     18        cd $(WRKBUILD); rm -rf config.cache; \ 
     19            PATH=$(STAGING_TOOLS)/bin:$$PATH \ 
     20            LDFLAGS="-L$(STAGING_TOOLS)/lib" \ 
     21            CPPFLAGS="-I$(STAGING_TOOLS)/include" \ 
     22            ${MBSH} configure \ 
    2323                --with-cgi=no \ 
    24                 --with-server=no
     24                --with-server=yes
    2525                --with-ssl=no \ 
     26                --with-demos=no \ 
    2627                --disable-nls \ 
    2728                --prefix=$(STAGING_TOOLS) \ 
    2829                --disable-dependency-tracking \ 
    2930                --disable-libtool-lock \ 
    30         ); 
     31                --enable-static \ 
     32                --disable-shared 
    3133        touch $@ 
    3234 
     
    3739 
    3840$(STAGING_TOOLS)/bin/ecppc: $(WRKBUILD)/sdk/tools/ecppc/ecppc 
    39         $(CP) $< $@ 
     41        PATH=$(STAGING_TOOLS)/bin:$$PATH ${MAKE} -C ${WRKBUILD} install 
    4042 
    4143source: ${_CHECKSUM_COOKIE}