GithubHelp home page GithubHelp logo

roadsend-php's People

Contributors

timjr avatar weyrick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roadsend-php's Issues

Compiling fails

Hey there. I got it configured, but it didnt compile:


gcc -c clientinfo.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
clientinfo.c: In function ‘__ILWS_Query’:
clientinfo.c:225: warning: cast to pointer from integer of different size
clientinfo.c:277: warning: cast to pointer from integer of different size
clientinfo.c:292: warning: cast to pointer from integer of different size
clientinfo.c:329: warning: cast from pointer to integer of different size
clientinfo.c:329: warning: cast from pointer to integer of different size
clientinfo.c: In function ‘__ILWS_Post’:
clientinfo.c:429: warning: pointer targets in assignment differ in signedness
clientinfo.c:430: warning: pointer targets in assignment differ in signedness
clientinfo.c:431: warning: cast to pointer from integer of different size
clientinfo.c:482: warning: cast to pointer from integer of different size
clientinfo.c:508: warning: pointer targets in assignment differ in signedness
clientinfo.c:509: warning: pointer targets in assignment differ in signedness
gcc -c server.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
server.c: In function ‘handle_new_connection’:
server.c:414: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness
gcc -c client.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc -c gethandler.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc -c socket.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc -c memory.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc -c outstream.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc -c weblog.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc -c utils.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
utils.c: In function ‘__ILWS_stristr’:
utils.c:26: warning: cast from pointer to integer of different size
utils.c:26: warning: cast from pointer to integer of different size
gcc -c fnmatch.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc -c outgif.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc -c error.c -fPIC -O2 -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -D_SERVER_VERSION="\"libwebserver 0.53-RE\"" -I../include 
gcc  clientinfo.o server.o client.o gethandler.o socket.o memory.o outstream.o weblog.o utils.o fnmatch.o outgif.o error.o    -r -dynamiclib -undefined dynamic_lookup -single_module -o libwebserver.dylib
ld: warning: unexpected dylib (/usr/lib/libSystem.dylib) on link line
0  0x10bf8d098  __assert_rtn + 144
1  0x10bfd8682  std::__1::map<ld::File const*, ld::File::Ordinal, std::__1::less<ld::File const*>, std::__1::allocator<std::__1::pair<ld::File const* const, ld::File::Ordinal> > >::operator[](ld::File const* const&) + 0
2  0x10bfd835f  ld::tool::SectionRelocationsAtom<x86_64>::sectSymNum(bool, ld::Atom const*) + 45
3  0x10bfcdabb  ld::tool::SectionRelocationsAtom<x86_64>::encodeSectionReloc(ld::Internal::FinalSection*, ld::tool::SectionRelocationsAtom<x86_64>::Entry const&, std::__1::vector<macho_relocation_info<Pointer64<LittleEndian> >, std::__1::allocator<macho_relocation_info<Pointer64<LittleEndian> > > >&) + 77
4  0x10bfef0a2  ld::tool::SectionRelocationsAtom<x86_64>::encode() + 62
5  0x10bfd3340  ld::tool::OutputFile::updateLINKEDITAddresses(ld::Internal&) + 420
6  0x10bfcf030  ld::tool::OutputFile::write(ld::Internal&) + 136
7  0x10bf8d4d7  main + 713
8  0x10bf7ecd4  start + 52
A linker snapshot was created at:
    /tmp/libwebserver.dylib-2013-08-13-141220.ld-snapshot
ld: Assertion failed: (_machoSection != 0), function machoSection, file /SourceCache/ld64/ld64-136/src/ld/ld.hpp, line 641.
collect2: ld returned 1 exit status
make[4]: *** [all] Error 1
make[3]: *** [all] Error 2
make[2]: *** [../libs/libwebserver.dylib] Error 2
make[1]: *** [tools] Error 2
make: *** [unsafe] Error 2

What's going wrong here? Do I have "too new" libraries?

Regards.

Status of Project

Hi,

I want to use this tool to compile my PHP code into native C.
I can't manage to compile it under ubuntu 12.04

was installting bigloo3.2a.tar.gz
and when compile I get make[4]: *** [php-curl_u.o] Error 1

File "php-curl.scm", line 450, character 14741:

(pcc-set-callbacks curl

^

*** WARNING:bigloo:curl-stream-open

Type error -- procedure' expected,bool' provided

File "php-curl.scm", line 727, character 24569:

(defbuiltin (curl_init (url 'unpassed))

^

Was wondering if u can say what the status of this project.
I also tried to use PHC and HipHop, but failed to use them.

PHC didn't manage to compile my code as I wanted. HipHop is not good cli tools written in PHP.

My code is around 800K, and using HipHop make it 29MB!

Maybe u have an idea?

Thanks
Sassy

LGPL to Commercial license?

Hi, Mr. Shannon Weyrick,

For a long time I have been looking for solutions focus on compiling PHP code (both for performance and source code protection purpose). And I found Roadsend PHP might be a very promising choice among others I could find. In other words I prefer Roadsend personally although you developed it about 10 years ago. It's really awesome.

At the same time I have noticed the Roadsend uses LGPL license. According to my roughly evaluation, if I would like to use Roadsend in my current project, I still have a series of things to do, such as modify the current Roadsend source code to suit for the latest OS (say, Ubuntu 18.04 or 20.04) and tools (BigIoo new version etc.). Seems a lot :).

To avoid possible potential risks, could you please let me know if I could do not open the source code when I have done the work mentioned above? i.e., using another license model?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.