I installed julia (v1.1.1) via as stated in [platform specific instructions(https://julialang.org/downloads/platform.html) on my CentOS machine using yum and epel.
Julia works fine, but when precompiling packages (using DataFrames for example), I get
[ Info: Precompiling GLM [38e38edf-8417-5370-95a0-9cbb8c7f171a]
ERROR: LoadError: No deps.jl file could be found. Please try running Pkg.build("Arpack").
Currently, the build command might fail when Julia has been built from source
and the recommendation is to use the official binaries from julialang.org.
For more info see https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5.
I don't know enough about compilations, building from source, etc. to solve this. I guess it would work fine if I just download Julia from the main page and use it from within that folder. But I would prefer using it via package manager to automatically receive updates.
How do I solve this?
Unfortunately this is expected since Arpack.jl expects OpenBLAS to be called libopenblas64_.so.0, while in Fedora/CentOS it is libopenblasp64_.so.0. You can work around the problem using sudo ln -s /lib64/libopenblas64p_.so.0 ~/.julia/packages/Arpack/*/deps/lib/libopenblas64_.so.0. I'll try to find a solution with Arpack.jl developers.
So I eventually solved this via help of the original julialang page. For some reason, Arpack can't be built if you install julia via # yum install julia (with epel enabled). Pkg.build("Arpack") fails.
If you download julia from the official page and add it to path, it still throws the same error message. If you however start up julia and run Pkg.build("Arpack") beforehand, it works fine!
I confirm that #MilanBouchet-Valat solution works. Here is some details for Debian distribution.
I have installed Julia using Debian 4.19.37-5 package manager (synaptic for instance). I have
julia> versioninfo()
prints
Julia Version 1.0.4
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: Intel(R) Xeon(R) CPU E5-2603 v3 # 1.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, haswell)
The symptoms
Under Julia I got the "expected" error when trying to install the Arpack package:
(v1.0) pkg> add Arpack
prints
Resolving package versions...
Updating `~/.julia/environments/v1.0/Project.toml`
[7d9fca2a] + Arpack v0.3.1
Updating `~/.julia/environments/v1.0/Manifest.toml`
[no changes]
then
julia> using Arpack
prints
[ Info: Precompiling Arpack [7d9fca2a-8960-54d3-9f78-7d1dccf2cb97]
ERROR: LoadError: No deps.jl file could be found. Please try running
Pkg.build("Arpack").
Currently, the build command might fail when Julia has been built from source
and the recommendation is to use the official binaries from julialang.org.
For more info see https://github.com/JuliaLinearAlgebra/Arpack.jl/issues/5.
Stacktrace:
[1] top-level scope at /home/picaud/.julia/packages/Arpack/cu5By/src/Arpack.jl:19
[2] include at ./boot.jl:317 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1044
[4] include(::Module, ::String) at ./sysimg.jl:29
[5] top-level scope at none:2
[6] eval at ./boot.jl:319 [inlined]
[7] eval(::Expr) at ./client.jl:393
[8] top-level scope at ./none:3
in expression starting at /home/picaud/.julia/packages/Arpack/cu5By/src/Arpack.jl:16
ERROR: Failed to precompile Arpack [7d9fca2a-8960-54d3-9f78-7d1dccf2cb97] to /home/picaud/.julia/compiled/v1.0/Arpack/X5VZL.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203
[3] _require(::Base.PkgId) at ./loading.jl:960
[4] require(::Base.PkgId) at ./loading.jl:858
[5] require(::Module, ::Symbol) at ./loading.jl:853
however
pkg> build Arpack
prints
Building Arpack → `~/.julia/packages/Arpack/cu5By/deps/build.log`
┌ Error: Error building `Arpack`:
│ ERROR: LoadError: LibraryProduct(nothing, ["libarpack"], :libarpack, "Prefix(/home/picaud/.julia/packages/Arpack/cu5By/deps/usr)") is not satisfied, cannot generate deps.jl!
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] #write_deps_file#152(::Bool, ::Function, ::String, ::Array{LibraryProduct,1}) at /home/picaud/.julia/packages/BinaryProvider/TcAwt/src/Products.jl:414
│ [3] (::getfield(BinaryProvider, Symbol("#kw##write_deps_file")))(::NamedTuple{(:verbose,),Tuple{Bool}}, ::typeof(write_deps_file), ::String, ::Array{LibraryProduct,1}) at ./none:0
│ [4] top-level scope at none:0
│ [5] include at ./boot.jl:317 [inlined]
│ [6] include_relative(::Module, ::String) at ./loading.jl:1044
│ [7] include(::Module, ::String) at ./sysimg.jl:29
│ [8] include(::String) at ./client.jl:392
│ [9] top-level scope at none:0
│ in expression starting at /home/picaud/.julia/packages/Arpack/cu5By/deps/build.jl:74
└ # Pkg.Operations /build/julia-gbfU8y/julia-1.0.4+dfsg/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1096
The diagnostic
You can check that this is a dependance problem with:
ldd ~/.julia/packages/Arpack/cu5By/deps/usr/lib/libarpack.so
prints
linux-vdso.so.1 (0x00007ffc179a1000)
libopenblas64_.so.0 => not found <----
libgfortran.so.5 => /usr/lib/x86_64-linux-gnu/libgfortran.so.5 (0x00007feea073d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007feea05ba000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007feea05a0000)
libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007feea0557000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007feea0396000)
/lib64/ld-linux-x86-64.so.2 (0x00007feea0c67000)
Debian distro:
find /usr/lib/ -name libopenblas\*
prints
/usr/lib/x86_64-linux-gnu/libopenblas.so
/usr/lib/x86_64-linux-gnu/libopenblasp-r0.3.6.a
/usr/lib/x86_64-linux-gnu/libopenblas64_.so.0
/usr/lib/x86_64-linux-gnu/julia/libopenblas.so
/usr/lib/x86_64-linux-gnu/libopenblas.so.0
/usr/lib/x86_64-linux-gnu/libopenblas.a
/usr/lib/x86_64-linux-gnu/libopenblasp-r0.3.6.so
The "fix"
With root privileges (su) create a symbolic links
ln -s /usr/lib/x86_64-linux-gnu/libopenblas.so /usr/lib/x86_64-linux-gnu/libopenblas64_.so.0
Now it works
pkg> build Arpack
Building Arpack → `~/.julia/packages/Arpack/cu5By/deps/build.log`
then
using Arpack
[ Info: Precompiling Arpack [7d9fca2a-8960-54d3-9f78-7d1dccf2cb97]
are OK
Related
I attempted the installation of SMTPClient by executing in the REPL:
using Pkg
Pkg.add("SMTPClient")
The last line was not run successully - I got an issue from Julia:
Error: Error building `LibCURL`:
│ ERROR: LoadError: Could not download https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/build_Zlib.v1.2.11.jl to /home/jerzy/.julia/packages/LibCURL/lWJxD/deps/build_Zlib.v1.2.11.jl:
│ ErrorException("")
│ Stacktrace:
│ [1] error(::String) at ./error.jl:33
│ [2] #download#96(::Bool, ::Function, ::String, ::String) at /home/jerzy/.julia/packages/BinaryProvider/U2dKK/src/PlatformEngines.jl:619
│ [3] download(::String, ::String) at /home/jerzy/.julia/packages/BinaryProvider/U2dKK/src/PlatformEngines.jl:606
│ [4] top-level scope at /home/jerzy/.julia/packages/LibCURL/lWJxD/deps/build.jl:19
│ [5] include at ./boot.jl:317 [inlined]
│ [6] include_relative(::Module, ::String) at ./loading.jl:1044
│ [7] include(::Module, ::String) at ./sysimg.jl:29
│ [8] include(::String) at ./client.jl:392
│ [9] top-level scope at none:0
│ in expression starting at /home/jerzy/.julia/packages/LibCURL/lWJxD/deps/build.jl:14
│ --2020-06-14 20:26:37-- https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.4/build_Zlib.v1.2.11.jl
│ Resolving github.com (github.com)... 140.82.118.4
│ Connecting to github.com (github.com)|140.82.118.4|:443... connected.
│ HTTP request sent, awaiting response... 302 Found
│ Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/126450947/3549c780-3c62-11e9-9144-67fac571e02a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200614%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200614T182643Z&X-Amz-Expires=300&X-Amz-Signature=fe638ea82a12f0d962d80996378f917f7d5ccd387197248e5a7ee9239f11f6d3&X-Amz-SignedHeaders=host&actor_id=0&repo_id=126450947&response-content-disposition=attachment%3B%20filename%3Dbuild_Zlib.v1.2.11.jl&response-content-?type=application%2Foctet-stream [following]
│ --2020-06-14 20:26:43-- https://github-production-release-asset-2e65be.s3.amazonaws.com/126450947/3549c780-3c62-11e9-9144-67fac571e02a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200614%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200614T182643Z&X-Amz-Expires=300&X-Amz-Signature=fe638ea82a12f0d962d80996378f917f7d5ccd387197248e5a7ee9239f11f6d3&X-Amz-SignedHeaders=host&actor_id=0&repo_id=126450947&response-content-disposition=attachment%3B%20filename%3Dbuild_Zlib.v1.2.11.jl&response-content-type=application%2Foctet-stream
│ Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... failed: Name or service not known.
│ wget: unable to resolve host address ‘github-production-release-asset-2e65be.s3.amazonaws.com’
└ # Pkg.Operations /build/julia-wJr69F/julia-1.0.3+dfsg/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097
Consistent with the feedback from the REPL, I then proceeded to run the following:
Pkg.build("LibCURL")
and got back from Julia the following:
Error: Error building `LibCURL`:
│ ERROR: LoadError: UndefVarError: products not defined
│ Stacktrace:
│ [1] getproperty(::Module, ::Symbol) at ./sysimg.jl:13
│ [2] top-level scope at /home/jerzy/.julia/packages/LibCURL/lWJxD/deps/build.jl:26
│ [3] include at ./boot.jl:317 [inlined]
│ [4] include_relative(::Module, ::String) at ./loading.jl:1044
│ [5] include(::Module, ::String) at ./sysimg.jl:29
│ [6] include(::String) at ./client.jl:392
│ [7] top-level scope at none:0
│ in expression starting at /home/jerzy/.julia/packages/LibCURL/lWJxD/deps/build.jl:14
└ # Pkg.Operations /build/julia-wJr69F/julia-1.0.3+dfsg/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097
I then restarted the REPL, to no avail.
Is there a fix to this issue?
My environment: Debian 10 LTS. I intend to send emails from my desktop using third-party SMTP servers. Are there perchance any other packages that would do this job?
Most likely the network connection failed in the middle of installation process of LibCURL.
Try removing the package and adding again:
using Pkg
pkg"rm SMTPClient"
pkg"rm LibCURL"
pkg"add LibCURL"
Another possible reasons could be no disk space/quota left or some problem with writing rights to your .julia location.
While learning Julia, I've stumbled on a basic task of including files from a different directory. I have two directories, Core and Explore, neither of which is the parent of the other; see the figure. Directory Core has a file Core.jl with
module Core
foo() = 1
end
or it could be a basic .jl file, not a module, with foo().
The file Explore.jl, in directory Explore, needs to use foo() from Core.jl. So I tried putting the following lines into Explore.jl: /Users/me/PycharmProjects/juliaProjects/src/Core/Core.jl, include("./Core.jl") and other permutations. However I keep getting errors like
ERROR: LoadError: could not open file /Users/me/PycharmProjects/juliaProjects/src/Core/Core.jl
Stacktrace:
[1] include at ./boot.jl:317 [inlined]
[2] include_relative(::Module, ::String) at ./loading.jl:1038
[3] include(::Module, ::String) at ./sysimg.jl:29
[4] include(::String) at ./client.jl:398
[5] top-level scope at none:0
[6] include at ./boot.jl:317 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1038
[8] include(::Module, ::String) at ./sysimg.jl:29
[9] exec_options(::Base.JLOptions) at ./client.jl:239
[10] _start() at ./client.jl:432
in expression starting at /Users
Question: What would be a correct include specification to put into a jl. file?
The environment is Julia 0.7 on Mac OS High Sierra. Note that I'm not using a shell, but an IDE, namely, the julia plug-in 0.3.3 for Intellij 2018.3.
I've checked other questions on SO, eg loading a module from the local directory in Julia, How to import custom module in julia, What should path be to Julia source file?, but they didn't seem to work.
Edit: Based on the accepted answer, the file Explore.jl should include
cd("src/Core")
include("../Core/Core.jl")
You cannot name a module Core because it is a reserved name and (have tested on my computer) creating such module crashes Julia in unexpected way.
Please see the example julia session below to understand how to create and load a module located in a different folder (please not that changing from julia> to shell> prompt is acquired by pressing ; and exiting shell> is with backspace):
shell> mkdir mymod
shell> vim mymod/mod.jl
shell> more mymod/mod.jl
module MyMod
foo() = 1
end
shell> mkdir dir2
julia> cd("dir2")
julia> include("../mymod/mod.jl")
Main.MyMod
julia> using Main.MyMod
julia> MyMod.foo()
1
Trying to build Linux for Advantech UBC-221 that has Intel Quark processor.
The system is Debian 9, running on VMware. Was able to build poky succefully before.
Let me summarize what I was doing:
mkdir quark
cd quark
git clone git://git.yoctoproject.org/meta-intel-quark
git clone git://git.openembedded.org/openembedded-core
git clone git://git.yoctoproject.org/poky
cp -r poky/bitbake .
cd openembedded-core
source oe-init-build-env
bitbake-layers add-layer ~/quark/meta-intel-quark/
bitbake core-image-base
Error code I get:
WARNING: Layer quark-bsp should set LAYERSERIES_COMPAT_quark-bsp in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer quark-bsp should set LAYERSERIES_COMPAT_quark-bsp in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: /home/bgabor/quark/meta-intel-quark/recipes-kernel/linux/linux-yocto-quark_3.8.bb: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base ().
WARNING: /home/bgabor/quark/meta-intel-quark/recipes-bsp/grub/grub_0.97.bb: Exception during build_dependencies for CFLAGS
WARNING: /home/bgabor/quark/meta-intel-quark/recipes-bsp/grub/grub_0.97.bb: Error during finalise of /home/bgabor/quark/meta-intel-quark/recipes-bsp/grub/grub_0.97.bb
ERROR: ExpansionError during parsing /home/bgabor/quark/meta-intel-quark/recipes-bsp/grub/grub_0.97.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable CFLAGS, expression was -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/bgabor/quark/openembedded-core/build/tmp-glibc/work/i586-oe-linux/grub/0.97+gitAUTOINC+5775f32a62-r0=/usr/src/debug/grub/0.97+gitAUTOINC+5775f32a62-r0 -fdebug-prefix-map=/home/bgabor/quark/openembedded-core/build/tmp-glibc/work/i586-oe-linux/grub/0.97+gitAUTOINC+5775f32a62-r0/recipe-sysroot= -fdebug-prefix-map=/home/bgabor/quark/openembedded-core/build/tmp-glibc/work/i586-oe-linux/grub/0.97+gitAUTOINC+5775f32a62-r0/recipe-sysroot-native= -Os -fno-strict-aliasing -Wall -Werror -Wno-shadow -Wno-unused -Wno-pointer-sign -DINTEL_QUARK_TEST=${#base_contains('PACKAGECONFIG', 'grub_test', '1', '0', d)} which triggered exception NameError: name 'base_contains' is not defined
Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
I'm pretty much stuck here. Some help would be greatly appreciated!
Edit:
Tried to build on Debian 7.11 32 bit system. It went better however another error came:
bgabor#debian:~/quark/dizzy/build$ bitbake core-image-base
WARNING: Host distribution "Debian-7.11" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |####################################################################################################################################################| ETA: 00:00:00
Loaded 1292 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.24.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Debian-7.11"
TARGET_SYS = "i586-poky-linux"
MACHINE = "quark"
DISTRO = "poky"
DISTRO_VERSION = "1.7.3"
TUNE_FEATURES = "m32 i586"
TARGET_FPU = ""
meta
meta-yocto
meta-yocto-bsp = "dizzy:58863ad092c9a279e305c841dbb4353de2ecfae8"
meta-intel-quark = "master:a314f0ceea986fde42d5d9b0ea449f7a563e9351"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Unable to install packages. Command '/home/bgabor/quark/dizzy/build/tmp/sysroots/i686-linux/usr/bin/smart --quiet --data-dir=/home/bgabor/quark/dizzy/build/tmp/work/quark-poky-linux/core-image-minimal-initramfs/1.0-r0/rootfs/var/lib/smart install -y busybox#i586 initramfs-live-install-efi#i586 run-postinsts#all initramfs-live-install#i586 udev#i586 initramfs-live-boot#quark base-passwd#i586' returned 1:
error: Can't install initramfs-live-install-1.0-r9#i586: no package provides grub
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/bgabor/quark/dizzy/build/tmp/work/quark-poky-linux/core-image-minimal-initramfs/1.0-r0/temp/log.do_rootfs.29435
ERROR: Task 240 (/home/bgabor/quark/dizzy/meta/recipes-core/images/core-image-minimal-initramfs.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2529 tasks of which 2527 didn't need to be rerun and 1 failed.
No currently running tasks (2435 of 2531)
Summary: 1 task failed:
/home/bgabor/quark/dizzy/meta/recipes-core/images/core-image-minimal-initramfs.bb, do_rootfs
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
It does not find grub package, however I can see there are two in the recipes:
bgabor#debian:~/quark/dizzy/build$ bitbake-layers show-recipes | grep "grub" -A 3
Parsing recipes..done.
grub:
meta-intel-quark 0.97+gitAUTOINC+5775f32a62
meta 0.97
meta 2.00
--
grub-conf:
meta-intel-quark 1.0
grub-efi:
meta 2.00
gsettings-desktop-schemas:
meta 3.10.1
Tried to clean and then bitbake again but no result.
What might be the problem here?
First, Poky includes OpenEmbedded Core so you don't need to clone both, just clone Poky.
Second, the meta-intel-iot layer is pretty dead and only formally supports the Daisy release of Poky (see the README). You may have luck using newer releases, but obviously not git master (aka Thud).
https://wiki.yoctoproject.org/wiki/Releases lists the releases. Instead of checking out master of Poky, check out the relevant release branch. I suggest starting with daisy but trying something a little newer such as jethro would be a good idea.
I am using Strawberry Perl 64-bit on Windows (5.26.2.1). Some CPAN modules install correctly, such as Log::Log4perl. However a lot of different modules are failing install with the same error: '.' is not recognized as an internal or external command.
I'm not really sure what to do about this. My best guess is that maybe these modules don't work with Windows, but that's just a guess. An example is Text::Trim which doesn't have any message in its docs that it wouldn't work on Windows.
If you know how to make CPAN install messages more verbose, that might also help track this down. Here is the error:
cpan[6]> install Text::Trim
install Text::Trim
Running install for module 'Text::Trim'
Checksum for C:\Users\me\.cpan\sources\authors\id\M\MA\MATTLAW\Text-Trim-1.02.tar.gz ok
Configuring M/MA/MATTLAW/Text-Trim-1.02.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Text-Trim' version '1.02'
MATTLAW/Text-Trim-1.02.tar.gz
C:\Strawberry\perl\bin\perl.exe Build.PL installdirs=site -- OK
Running Build for M/MA/MATTLAW/Text-Trim-1.02.tar.gz
Building Text-Trim
MATTLAW/Text-Trim-1.02.tar.gz
C:\Strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test
t\01..trim.t ..... ok
t\02..ltrim.t .... ok
t\03..rtrim.t .... ok
t\04..unicode.t .. ok
t\05..undef.t .... ok
t\99..pod.t ...... ok
All tests successful.
Files=6, Tests=63, 2 wallclock secs ( 0.05 usr + 0.70 sys = 0.75 CPU)
Result: PASS
MATTLAW/Text-Trim-1.02.tar.gz
C:\Strawberry\perl\bin\perl.exe ./Build test -- OK
Running Build install
'.' is not recognized as an internal or external command,
operable program or batch file.
MATTLAW/Text-Trim-1.02.tar.gz
./Build install -- NOT OK
Failed during this command:
MATTLAW/Text-Trim-1.02.tar.gz : install NO
Note that I also have Berrybrew installed, so I was also thinking they could interfere with each other, but the fact that Log::Log4perl works makes me think it's relatively unlikely.
EDIT: Strangely, installing Text::Trim using cpanm worked...
EDIT: Per request in the comments, here is the output from o conf from the cpan command prompt below. Note however that the cpan this is running is at C:\berrybrew\5.26.1_64\perl\bin\cpan.bat so it's strange that it's picking up other versions of certain things from C:\Strawberry\c\bin.
cpan[2]> o conf
$CPAN::Config options from C:\Users\me\.cpan/CPAN/MyConfig.pm:
commit [Commit changes to disk]
defaults [Reload defaults from disk]
help [Short help about 'o conf' usage]
init [Interactive setting of all options]
applypatch []
auto_commit [0]
build_cache [100]
build_dir [C:\Users\me\.cpan\build]
build_dir_reuse [0]
build_requires_install_policy [yes]
bzip2 [/mingw64/bin/bzip2]
cache_metadata [1]
check_sigs [0]
cleanup_after_install undef
colorize_debug undef
colorize_output [0]
colorize_print undef
colorize_warn undef
commandnumber_in_prompt [1]
commands_quote undef
connect_to_internet_ok [1]
cpan_home [C:\Users\me\.cpan]
curl [C:\Users\me\AppData\Local\Continuum\Anaconda3\Library\bin\curl.EXE]
dontload_hash undef
dontload_list undef
ftp undef
ftp_passive [1]
ftp_proxy []
ftpstats_period undef
ftpstats_size undef
getcwd [cwd]
gpg [/usr/bin/gpg]
gzip [/usr/bin/gzip]
halt_on_failure [0]
histfile [C:\Users\me\.cpan\histfile]
histsize [100]
http_proxy []
inactivity_timeout [0]
index_expire [1]
inhibit_startup_message [0]
keep_source_where [C:\Users\me\.cpan\sources]
load_module_verbosity [none]
lynx undef
make [C:\Strawberry\c\bin\gmake.EXE]
make_arg []
make_install_arg []
make_install_make_command [C:\Strawberry\c\bin\gmake.EXE]
makepl_arg [INSTALLDIRS=site]
mbuild_arg []
mbuild_install_arg []
mbuild_install_build_command [./Build]
mbuildpl_arg [installdirs=site]
ncftp undef
ncftpget undef
no_proxy []
pager [C:\windows\system32\more.COM]
password undef
patch [C:\Strawberry\c\bin\patch.EXE]
patches_dir undef
perl5lib_verbosity [none]
plugin_list
prefer_external_tar [0]
prefer_installer [MB]
prefs_dir [C:\Users\me\.cpan\prefs]
prerequisites_policy [follow]
proxy_pass undef
proxy_user undef
randomize_urllist undef
recommends_policy [1]
scan_cache [atstart]
shell [C:\windows\system32\cmd.exe]
show_unparsable_versions [0]
show_upload_date [0]
show_zero_versions [0]
suggests_policy [0]
tar [/usr/bin/tar]
tar_verbosity [none]
term_is_latin [1]
term_ornaments [1]
test_report [0]
trust_test_report_history [0]
unzip [/usr/bin/unzip]
urllist
0 [http://www.cpan.org/]
use_prompt_default [0]
use_sqlite [0]
username undef
version_timeout [15]
wait_list undef
wget []
yaml_load_code [0]
yaml_module [YAML]
Prototype mismatch: sub main::SIGVTALRM () vs none at /home/abhijay/pintos-os/pintos/src/utils/pintos line 934.
Constant subroutine SIGVTALRM redefined at /home/abhijay/pintos-os/pintos/src/utils/pintos line 926.
warning: can't find squish-pty, so terminal input will fail
bochs -q
========================================================================
Bochs x86 Emulator 2.4.6
Build from CVS snapshot, on February 22, 2011
Compiled at Jun 8 2013, 05:16:04
========================================================================
00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib/bochs/plugins'
00000000000i[ ] BXSHARE not set. using compile time default '/usr/share/bochs'
00000000000i[ ] reading configuration from bochsrc.txt
00000000000e[ ] user_shortcut: old-style syntax detected
00000000000i[ ] lt_dlhandle is 0x37ed0c0
00000000000i[PLGIN] loaded plugin libbx_x.so
00000000000i[ ] installing x module as the Bochs GUI
00000000000i[ ] using log file bochsout.txt
bochs-bin: symbol lookup error: /usr/lib/bochs/plugins/libbx_x.so: undefined symbol: XpmCreatePixmapFromData
Any workaround for this? I have installed build-essentials and bochs simulator.
You have to just go to the file /home/abhijay/pintos-os/pintos/src/utils/pintos and comment out the whole function SIGVTALRM () .It should work fine.