Closed pramodskumbhar closed 7 years ago
When there is no --disable-pysetup or no --pysetup=....
the default is to install the neuron module in
ac_pysetup='--home=$(prefix)'
So it is not clear to my why it would complain about error: must supply either home or prefix/exec-prefix -- not both
Please look at
From: Pramod S Kumbhar notifications@github.com Sent: Monday, September 25, 2017 12:36 PM To: nrnhines/nrn Cc: Subscribed Subject: [nrnhines/nrn] neuron build on OS X without --disable-pysetup (#36)
Hi Michael,
I have been using --disable-pysetup. If I remove that, on OS X we get error like:
fi
/usr/local/bin/ginstall -c -m 644 nrnconf.h '/Users/travis/build/pramodskumbhar/spack-packages/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/neuron-develop-gmfle/x86_64/lib' /usr/local/bin/gmkdir -p '/Users/travis/build/pramodskumbhar/spack-packages/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/neuron-develop-gmfle/share/nrn' /usr/local/bin/ginstall -c libtool '/Users/travis/build/pramodskumbhar/spack-packages/spack/opt/spack/darwin-elcapitan-x86_64/clang-7.3.0-apple/neuron-develop-gmfle/share/nrn' running install error: must supply either home or prefix/exec-prefix -- not both make[3]: [install-exec-hook] Error 1 make[2]: [install-exec-am] Error 2 make[1]: [install-am] Error 2 make: [install-recursive] Error 1
If we scroll to the end of build log herehttps://urldefense.proofpoint.com/v2/url?u=https-3A__s3.amazonaws.com_archive.travis-2Dci.org_jobs_279562105_log.txt-3FX-2DAmz-2DExpires-3D30-26X-2DAmz-2DDate-3D20170925T163530Z-26X-2DAmz-2DAlgorithm-3DAWS4-2DHMAC-2DSHA256-26X-2DAmz-2DCredential-3DAKIAJRYRXRSVGNKPKO5A_20170925_us-2Deast-2D1_s3_aws4-5Frequest-26X-2DAmz-2DSignedHeaders-3Dhost-26X-2DAmz-2DSignature-3D9a72ba84c77a1965bef7023706ae589c6152b90f763c8e6c50429f153761027b&d=DwMCaQ&c=cjytLXgP8ixuoHflwc-poQ&r=RYxvh9hpXg4aGcXdc7VKN3LhQcIm2Bs9VRtAs_7qCcE&m=c5QJYhaunVrvghGPereyGIE7EJ_Bw4BHlsqollnR-T8&s=h0ww_7xPnhS3Tslx-vPsh5_Lr4kgBKz91gGQTxCA6No&e=, we can see this error. Is this something relevant?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nrnhines_nrn_issues_36&d=DwMCaQ&c=cjytLXgP8ixuoHflwc-poQ&r=RYxvh9hpXg4aGcXdc7VKN3LhQcIm2Bs9VRtAs_7qCcE&m=c5QJYhaunVrvghGPereyGIE7EJ_Bw4BHlsqollnR-T8&s=vohn6rJpghSr3nLJX27y4lmM_BnaIvGDgrWDt6eCVMo&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AEMS0aDN6JaQHpGLyaxlxx-2DfqUV7DyCaks5sl9amgaJpZM4PjAyp&d=DwMCaQ&c=cjytLXgP8ixuoHflwc-poQ&r=RYxvh9hpXg4aGcXdc7VKN3LhQcIm2Bs9VRtAs_7qCcE&m=c5QJYhaunVrvghGPereyGIE7EJ_Bw4BHlsqollnR-T8&s=S8tRRwHcsrLCrU631TQpwWbhwD3wYQDl7qfufH4tQSg&e=.
@pramodskumbhar Could it be this issue ? https://stackoverflow.com/questions/24257803/distutilsoptionerror-must-supply-either-home-or-prefix-exec-prefix-not-both
I think you're using Homebrew in travis to install python etc ?
I wonder if this could be solved by letting neuron use --prefix instead of --home ?
I tried quickly on Sierra 10.12 and didn't see this issue. Travis ones are 10.11. I will check if I can reproduce this on my other system.
I think you're using Homebrew in travis to install python etc ?
yes! I am using homebrew with Travis. I will try solution posted!
For Sierra test obviously I used only default Python.
fixed by #40.
Hi Michael,
I have been using
--disable-pysetup
. If I remove that, on OS X we get error like:If we scroll to the end of build log here, we can see this error. Is this something relevant?
This builds fine on linux.