Comments (8)
Hmm, I can't tell why it isn't working. Your fix to the if test makes sense. Can you post your config.log
file? (That contains the log output of ./configure
.)
An alternative approach is to download and unpack the boost tarball in some completely unrelated directory and then add --with-boost=<boost-dir>
to your ./configure
command. (You can run ./configure --help
to see the full list of options.) <boost-dir>
should be the root-level directory of the unpacked tarball, I think (e.g. --with-boost=/home/joe/Downloads/boost_1_58_0
).
from arcs.
The unary operator message is caused by a small bug in the configure.ac. I think I fixed it now (still need a new release for it though), but it shouldn't interfere with compiling the code. acd7106
However what Ben said is correct. Using --with-boost=
is still needed if boost it is not in your default includes directory.
from arcs.
I just had a try on a newly installed Ubuntu 16.04 machine.
I did a git clone of the latest version.
Downloaded and unpacked the latest boost.
The unary operator message is still here, and after my "fix" from above, I do this:
./autogen.sh
./configure --prefix=$(pwd) —with-boost=/root/arcs/boost_1_63_0
And I get this weird result :
checking boost/graph/graph_traits.hpp usability... yes
checking boost/graph/graph_traits.hpp presence... yes
checking for boost/graph/graph_traits.hpp... yes
checking boost/graph/adjacency_list.hpp usability... yes
checking boost/graph/adjacency_list.hpp presence... yes
checking for boost/graph/adjacency_list.hpp... yes
checking boost/graph/undirected_graph.hpp usability... yes
checking boost/graph/undirected_graph.hpp presence... yes
checking for boost/graph/undirected_graph.hpp... yes
checking boost/graph/graphviz.hpp usability... yes
checking boost/graph/graphviz.hpp presence... yes
checking for boost/graph/graphviz.hpp... yes
configure: error: Requires the Boost C++ libraries, which may
be downloaded from here: http://www.boost.org/users/download/
The following commands will download and install Boost:
cd /root/arcs
wget http://downloads.sourceforge.net/project/boost/boost/1.58.0/1_58_0.tar.bz2
tar jxf 1_58_0.tar.bz2
cd -
The strange thing is that is seems to be able to find the boost libraries, yet still somehow complains about not being able to find them..
from arcs.
I also faced the config error ./configure: line 4899: test: !=: unary operator expected
, and the make install failed as
mv -f .deps/libdatalayer_a-FastaWriter.Tpo .deps/libdatalayer_a-FastaWriter.Po
rm -f libdatalayer.a
ar cru libdatalayer.a libdatalayer_a-FastaReader.o libdatalayer_a-FastaWriter.o
ranlib libdatalayer.a
make[2]: Entering directory `/public/home/lchen/software/arcs-binomialx2/DataLayer'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/public/home/lchen/software/arcs-binomialx2/DataLayer'
make[1]: Leaving directory `/public/home/lchen/software/arcs-binomialx2/DataLayer'
Making install in Arcs
make[1]: Entering directory `/public/home/lchen/software/arcs-binomialx2/Arcs'
g++ -DHAVE_CONFIG_H -I. -I.. -I/public/home/lchen/software/arcs-binomialx2/Arcs -I/public/home/lchen/software/arcs-binomialx2/Common -I/public/home/lchen/software/arcs-binomialx2/DataLayer -I/public/home/lchen/software/arcs-binomialx2 -I/public/home/lchen/software/arcs-binomialx2 -isystem/public/home/lchen/software/arcs-binomialx2/1_58_0 -Wall -Wextra -Werror -std=c++0x -fopenmp -g -O2 -MT arcs-Arcs.o -MD -MP -MF .deps/arcs-Arcs.Tpo -c -o arcs-Arcs.o `test -f 'Arcs.cpp' || echo '/public/home/lchen/software/arcs-binomialx2/Arcs/'`Arcs.cpp
In file included from /home/software/opt/gcc-4.8.5/include/c++/4.8.5/backward/hash_set:60:0,
from /usr/include/boost/graph/adjacency_list.hpp:25,
from /usr/include/boost/graph/undirected_graph.hpp:11,
from Arcs.h:20,
from Arcs.cpp:1:
/home/software/opt/gcc-4.8.5/include/c++/4.8.5/backward/backward_warning.h:32:2: error: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Werror=cpp]
#warning \
^
Arcs.cpp: In function ‘void writeGraph(const string&, ARCS::Graph&)’:
Arcs.cpp:491:5: error: ‘write_graphviz_dp’ is not a member of ‘boost’
boost::write_graphviz_dp(out, g, dp);
^
cc1plus: all warnings being treated as errors
make[1]: *** [arcs-Arcs.o] Error 1
make[1]: Leaving directory `/public/home/lchen/software/arcs-binomialx2/Arcs'
make: *** [install-recursive] Error 1
Using --with-boost=/public/home/lchen/software/boost_1_61_0, but facing same error.
from arcs.
@jvhaarst I apologize, I didn't test the 'fix' I made previously. I just pushed a fix 90f7ea7 and tested it now and it seems to be okay on my end. Let me know if you still have issues.
@conniecl This doesn't have anything to do with the previous error relative to boost. I think it is a gcc version issue that we need to resolve/update, though I'm pretty sure we have tested it with newer versions of gcc recently. For now, try and older version (4.4.7 mentioned in the readme) of gcc and we will fix it asap.
from arcs.
@JustinChu Thanks for your adivise, I have changed the gcc to 4.47, it seems work well. And thanks you again
from arcs.
@JustinChu I have just done a new test run, and your fixes work, I no longer see a unary operator warning and the boost libraries are used.
The compilation did fail as I hadn't installed zlib yet, but after that it went fine.
So all is well, but you might want to add zlib to the checks.
from arcs.
Thank you, @JustinChu!
from arcs.
Related Issues (20)
- About Running ARCS in default mode HOT 3
- GCC version update HOT 1
- arcs-1.2.2: abyss-fixmate-ssq sometimes segfaults HOT 9
- Short read length question: can the tool accept 250? HOT 2
- arcs-long: tiny PE-pairs are produced HOT 3
- Scaffolding Expectations HOT 12
- Running ARCS and ARKS HOT 2
- Parameters for corrected ONT reads HOT 2
- arcs-make in bin HOT 2
- Add optional dependency of pigz HOT 1
- unrecognized option '--fastq' HOT 3
- fastq formatting barcodes in BX tag HOT 8
- ARKS fails to create any links with a highly repetitive input HOT 4
- Parameters for PacBio HiFi data HOT 3
- Can this software use HiC data, or need to use the sequencing technology mentioned in your paper? HOT 1
- `arcs-tigmint` and `arks-tigmint` struggle with input files outside working directory HOT 3
- Incorrect program call? HOT 6
- `arcs-long`/`arks-long` vs `LINKS`? HOT 2
- Understanding specific scaffolding output HOT 4
- tigmint-make 'missing separator' error HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcs.