• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Feb 2016 10:08 AM by  Ben Shillito
PHP Installation errors
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Robert Ropotan



New Member


Posts:4
New Member


--
10 Feb 2016 12:21 AM
    Hi,

    I am trying to follow this:

    https://51degrees.com/Support/Docum...stallation

    First ./configure spits out this: cp: cannot stat `src/pattern/FiftyOneDegreesPatternV3.php': No such file or directory

    make install says: make: *** No rule to make target `/usr/local/Device-Detection/php/pattern/src/pattern/51Degrees_PHP.cpp', needed by `src/pattern/51Degrees_PHP.lo'. Stop.
    /
    I checked the github folder, there is no FiftyOneDegreesPatternV3.php. The config.m4 file also mentions the same script in some include folder but I can't see to be able to see that anywhere on github: AC_CONFIG_COMMANDS_PRE(cp src/pattern/FiftyOneDegreesPatternV3.php includes/)

    I am a bit lost here, help.
    0

    Ben Shillito



    New Member


    Posts:9
    New Member


    --
    10 Feb 2016 10:08 AM
    • Accepted Answer
    Hi,
    The most likely cause of this is that SWIG is not installed. The step prior to the copy uses SWIG to generate a wrapper for the C code (FiftyOneDegreesPatternV3.php). Doing
    sudo apt-get install swig
    if you are using an Ubuntu distribution will do the trick. Let me know if this fixes it.
    Ben
    0
    You are not authorized to post a reply.