Code Monkey home page Code Monkey logo

Comments (13)

chobie avatar chobie commented on June 19, 2024

Hi, thank you for reporting.

I'll attempt to supporting windows environment. but perhaps it takes a little long time.
(because i don't know how to compile in windows environment atm.)

from php-git.

stealth35 avatar stealth35 commented on June 19, 2024

Hi, you can view the PR #9
here is the step build for windows : https://wiki.php.net/internals/windows/stepbystepbuild

;)

from php-git.

chobie avatar chobie commented on June 19, 2024

Hi, thank you for your information.
hmm, binary tools couldn't download atm.http://pecl2.php.net/downloads/php-windows-builds/php-libs/binary-tools.zip.

I'll merge your request when i setup my windows develop environment. give me a moment :D

from php-git.

stealth35 avatar stealth35 commented on June 19, 2024

I'have a copy ;)
http://stealth35.github.com/downloads/binary-tools.zip

from php-git.

chobie avatar chobie commented on June 19, 2024

Hey, i appreciate your help :D

can you teach me how to compile php-git on windows?
i tried it, but it's difficult for me.

i want to compile like a linux-system phpize,configure,nmake if possible.

following lines are my current process.

  1. create php-5.3.6 build tree. moved php-git v0.1.0 to ext dir.

  2. i put libgit2 headers and library into deps directory.

  3. buildconf && configure --disable--all --enable-cli --enable-git

  4. nmake <= here. but many errors.

    C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\stdint.h(168) : warning
    C4005: 'UINTMAX_C' : macro redefinition
    .\win32/php_stdint.h(239) : see previous definition of 'UINTMAX_C'
    c:\php-sdk\php53dev\vc9\x86\deps\include\common.h(38) : warning C4005: 'snprintf
    ' : macro redefinition
    c:\php-sdk\php53dev\vc9\x86\php-5.3.6\main\snprintf.h(107) : see previou
    s definition of 'snprintf'
    main\internal_functions.c(43) : error C2059: syntax error : ';'
    main\internal_functions.c(43) : error C2059: syntax error : ','
    main\internal_functions.c(54) : warning C4034: sizeof returns 0

i could compile php without php-git. i'm not sure about windows compile environment.
so, perhaps it takes a little long time.

from php-git.

stealth35 avatar stealth35 commented on June 19, 2024

there is no phpize under windows :-(
normaly you need to compile with Visual Studio 2008

from php-git.

stealth35 avatar stealth35 commented on June 19, 2024

I successful to compile extension, but I have now a dll sxs probleme, I think it'll be nice to create each .h files.

from php-git.

chobie avatar chobie commented on June 19, 2024

thank you for your work!

probably we can use phpize.bat & configure.bat under windows develop environment.
i'm looking for better compile process and good coding style under windows.

so, can you give me a more time?
i promiss windows support :D

from php-git.

stealth35 avatar stealth35 commented on June 19, 2024

For using phpize under windows you should take the dev pack :
http://downloads.php.net/pierre/
(php-devel-pack-5.3.5-dev-Win32-VC9-x86.zip)

:-)

from php-git.

inri13666 avatar inri13666 commented on June 19, 2024

Hello))) maybe anyone can write stepbystep guide for building "php-git" for windows))

from php-git.

chobie avatar chobie commented on June 19, 2024

@inri13666 sorry, windows does not support yet as I changed drastically and I broke this PR.
I'll try to support it in this month.

from php-git.

schneidermichal avatar schneidermichal commented on June 19, 2024

Some news around compiling under windows?

from php-git.

abhayprakash avatar abhayprakash commented on June 19, 2024

any help for phpize in windows?

from php-git.

Related Issues (20)

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.