Menu

#35 Error when make the project

open
nobody
make (1)
5
2017-10-12
2017-10-11
drazde
No

When I try to compile on MSYS (on Windos 10), I have this error

$ make
rm -f src/pcre2_chartables.c
cp -pR /c/Standard 2007/pcre2-10.30/pcre2-10.30/src/pcre2_chartables.c.dist /c/Standard 2007/pcre2-10.30/pcre2-10.30/src/pcre2_chartables.c
cp: target '2007/pcre2-10.30/pcre2-10.30/src/pcre2_chartables.c' is not a directory
make: *** [Makefile:3217: src/pcre2_chartables.c] Error 1

Discussion

  • drazde

    drazde - 2017-10-12

    I'm sorry, i didn't follow (completely) the guide NON-AUTOTOOLS-BUILD...
    probably because yesterday I was burned out (after a day of work :( )

     

    Last edit: drazde 2017-10-12
  • drazde

    drazde - 2017-10-12

    I finnaly complite the building but I have a question:
    I must move the project on a "simple" directory on MSYS2 (c:\msys2\home\ without space) because although make will fail with this error:

    In file included from src/pcre2posix.c:47:0:
    src/config.h:231:0: note: this is the location of the previous definition
     #define PCRE2POSIX_EXP_DEFN extern __attribute__ ((visibility ("default")))
    
      CCLD     libpcre2-posix.la
    /usr/bin/sed: can't read 2007/pcre2-10.30/pcre2-10.30/libpcre2-8.la: No such file or directory
    libtool:   error: '2007/pcre2-10.30/pcre2-10.30/libpcre2-8.la' is not a valid libtool archive
    make[1]: *** [Makefile:1563: libpcre2-posix.la] Error 1
    make[1]: Leaving directory '/c/Standard 2007/pcre2-10.30/pcre2-10.30'
    make: *** [Makefile:1282: all] Error 2
    

    I found this file lt-pcre2grep.c a wrong const that coud be fail the compilation
    const char * LIB_PATH_VALUE = ""C:\\Standard 2007\\pcre2-10.30\\pcre2-10.30\\.libs";";

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.