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

Problem with non-standard perl locations? #8

Open
karlglazebrook opened this issue Jan 5, 2024 · 0 comments
Open

Problem with non-standard perl locations? #8

karlglazebrook opened this issue Jan 5, 2024 · 0 comments

Comments

@karlglazebrook
Copy link
Member

Hi there Ed,

I am experimenting with:

cpan -i Alien::FFTW3
for perl in a non-standard place (/Applications/PDL/...) for my SciPDL build.

I get the following error message (right at the end)

make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in api
/Library/Developer/CommandLineTools/usr/bin/make  install-am
make[3]: Nothing to be done for `install-exec-am'.
 .././install-sh -c -d '/include'
mkdir: /include: Read-only file system
mkdir: /include: Read-only file system
make[3]: *** [install-includeHEADERS] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
External command (echo 'cd .fftw-double-build; make install' | sh) failed! Error: 512
 at ./Build line 62.
Failed
  ETJ/Alien-FFTW3-0.04.tar.gz
  ./Build -- NOT OK

Looks to me that some $ENV is blank and it is trying to install in /include which is obviously forbidden

The perl config is as follows:

karl@Dummys-MacBook-Pro perl-5.38.2 % perl -V
Summary of my perl5 (revision 5 version 38 subversion 2) configuration:
   
  Platform:
    osname=darwin
    osvers=21.6.0
    archname=darwin-2level
    uname='darwin dummys-macbook-pro.local 21.6.0 darwin kernel version 21.6.0: thu nov 9 00:38:19 pst 2023; root:xnu-8020.240.18.705.10~1release_x86_64 x86_64 '
    config_args='-de -Dprefix=/Applications/PDL'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
  Compiler:
    cc='cc'
    ccflags ='-fno-common -DPERL_DARWIN -mmacosx-version-min=12.7 -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    optimize='-O3'
    cppflags='-fno-common -DPERL_DARWIN -mmacosx-version-min=12.7 -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
    ccversion=''
    gccversion='Apple LLVM 14.0.0 (clang-1400.0.29.202)'
    gccosandvers=''
    intsize=4
    longsize=8
    ptrsize=8
    doublesize=8
    byteorder=12345678
    doublekind=3
    d_longlong=define
    longlongsize=8
    d_longdbl=define
    longdblsize=16
    longdblkind=3
    ivtype='long'
    ivsize=8
    nvtype='double'
    nvsize=8
    Off_t='off_t'
    lseeksize=8
    alignbytes=8
    prototype=define
  Linker and Libraries:
    ld='cc'
    ldflags =' -mmacosx-version-min=12.7 -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/lib /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib /Library/Developer/CommandLineTools/usr/lib /usr/lib
    libs=-lgdbm
    perllibs=
    libc=
    so=dylib
    useshrplib=false
    libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=bundle
    d_dlsymun=undef
    ccdlflags=' '
    cccdlflags=' '
    lddlflags=' -mmacosx-version-min=12.7 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong'


Characteristics of this binary (from libperl): 
  Compile-time options:
    HAS_LONG_DOUBLE
    HAS_STRTOLD
    HAS_TIMES
    PERLIO_LAYERS
    PERL_COPY_ON_WRITE
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_SIPHASH13
    PERL_HASH_USE_SBOX32
    PERL_MALLOC_WRAP
    PERL_OP_PARENT
    PERL_PRESERVE_IVUV
    PERL_USE_SAFE_PUTENV
    USE_64_BIT_ALL
    USE_64_BIT_INT
    USE_LARGE_FILES
    USE_LOCALE
    USE_LOCALE_COLLATE
    USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC
    USE_LOCALE_TIME
    USE_PERLIO
    USE_PERL_ATOF
  Built under darwin
  Compiled at Jan  4 2024 15:19:36
  @INC:
    /Applications/PDL/lib/perl5/site_perl/5.38.2/darwin-2level
    /Applications/PDL/lib/perl5/site_perl/5.38.2
    /Applications/PDL/lib/perl5/5.38.2/darwin-2level
    /Applications/PDL/lib/perl5/5.38.2

I will continue my usual workaround of building fftw3 manually...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant