Code Monkey home page Code Monkey logo

ext's People

Contributors

dependabot[bot] avatar derickr avatar mlocati avatar nielsdos avatar ramsey avatar remicollet avatar szepeviktor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ext's Issues

Support of lower versions of php

PHP 8.2 is not as widespread in the world as at least 8.0, the library looks extremely useful, but the version limitation will greatly reduce its prevalence

So please lower the requirements to at least 8.0,

Build failure

Building against PHP 8.2.9 and using GCC 12

/tmp/ext/src/ecma402/language_tag.cpp: In function '{anonymous}::VariantCode {anonymous}::parseVariantCode(const std::string&)':
/tmp/ext/src/ecma402/language_tag.cpp:511:26: error: field 'characters' has incomplete type 'std::array<unsigned char, 8>'
  511 |     std::array<LChar, 8> characters{};
      |                          ^~~~~~~~~~
In file included from /usr/include/c++/12/bits/hashtable_policy.h:34,
                 from /usr/include/c++/12/bits/hashtable.h:35,
                 from /usr/include/c++/12/unordered_set:46,
                 from /tmp/ext/src/ecma402/language_tag.cpp:20:
/usr/include/c++/12/tuple:1595:45: note: declaration of 'struct std::array<unsigned char, 8>'
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
/tmp/ext/src/ecma402/language_tag.cpp:515:37: error: static assertion failed: size must be equal
  515 |   static_assert(sizeof(VariantCode) == sizeof(Code), "size must be equal");
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~

Can't install with pecl: src/ecma402/calendar.loT: No such file or directory

I'm trying to install this extension with pecl in a docker image, without success.

  1. In a docker image launched with docker run --rm -it php:8.2-cli-alpine3.17 sh
    apk add $PHPIZE_DEPS icu-dev
    pecl install ecma_intl-alpha
    
  2. In a docker image launched with docker run --rm -it php:8.2-cli-bookworm bash
    apt update
    apt install -qy libicu-dev
    pecl install ecma_intl-alpha
    

In both cases I have this outout:

[... omissis... ]
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuservJzQtn/ecma_intl-0.1.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/ecma_intl -I/tmp/pear/temp/pear-build-defaultuservJzQtn/ecma_intl-0.1.1/include -I/tmp/pear/temp/pear-build-defaultuservJzQtn/ecma_intl-0.1.1/main -I/tmp/pear/temp/ecma_intl -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/tmp/pear/temp/ecma_intl/src -I/tmp/pear/temp/pear-build-defaultuservJzQtn/ecma_intl-0.1.1/src  -DHAVE_CONFIG_H  -g -O2 -D_GNU_SOURCE    -DZEND_COMPILE_DL_EXT=1 -c /tmp/pear/temp/ecma_intl/src/ecma402/calendar.c -o src/ecma402/calendar.lo  -MMD -MF src/ecma402/calendar.dep -MT src/ecma402/calendar.lo
/tmp/pear/temp/pear-build-defaultuservJzQtn/ecma_intl-0.1.1/libtool: line 1290: src/ecma402/calendar.loT: No such file or directory
mkdir src/ecma402/.libs
mkdir: cannot create directory 'src/ecma402/.libs': No such file or directory
make: *** [Makefile:244: src/ecma402/calendar.lo] Error 1
ERROR: `make' failed

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.