Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-251526: Cannot Build on Windows #236

Closed
daffyduck25 opened this issue Dec 23, 2020 · 3 comments
Closed

SNOW-251526: Cannot Build on Windows #236

daffyduck25 opened this issue Dec 23, 2020 · 3 comments
Labels
question Issue is a usage/other question rather than a bug

Comments

@daffyduck25
Copy link

Windows 10
x64
PHP V 7.3.0
VS2017

Hello. I am trying to build the .dll from instructions here: https://github.com/snowflakedb/pdo_snowflake#building-the-driver-on-windows on a Windows machine.

I bypassed the php build instructions as I already have PHP on my machine.

When I get to this section:

.\scripts\run_build_pdo_snowflake.bat

After the files are copied I receive an error the 'buildconf' is not recognizable.

Did I incorrectly assume that I could skip the php build section? Or is there something else I should be doing?

Thank you.

image

@github-actions github-actions bot changed the title Cannot Build on Windows SNOW-251526: Cannot Build on Windows Dec 23, 2020
@Keith-Wade
Copy link

We had same issues tryin to compile for PHP 7.4.15 and ran into the buildconf error.
We got around that by copying the PHP 7.4.15 source into the PHP SDK library that was built in a previous step:
C:\php-sdk\phpmaster\vc15\x64\php-src

This solved our problem with building the php_pdo_snowflake.dll. However, we couldn't load it into our PHP instance.
We were able to get the dll loaded into the PHP 7.4.15 instance that was compiled during the snowflake dll build. We're thinking there must be some PHP build issues between the Snowflake PHP build and the pre-built dlls from the PHP site we're using.

@yoramdelangen
Copy link

@Keith-Wade another option would be to run the .\scripts\run_setup_php.bat x64 Release VS16 8.2.3 c:\php-sdk command, at least this worked for me.

@sfc-gh-igarish sfc-gh-igarish added the question Issue is a usage/other question rather than a bug label Mar 30, 2023
@sfc-gh-dprzybysz
Copy link
Collaborator

We have builds on Windows running on GH actions and they are working fine. Additionally PHP <8 is not supported currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Issue is a usage/other question rather than a bug
Projects
None yet
Development

No branches or pull requests

5 participants