Skip to content

Installation is annoying #11

@josephwb

Description

@josephwb

Using either 1) configure or 2) separate Makefiles would make things a lot easier.

The README.txt states:

Linux:
Similar to MAC version

but that is not true; all instructions are emphatically mac-specific! vtk can be installed simply with:

sudo apt-get install vtk6
sudo apt-get install vtkdata

The Mac/Linux instructions do not mention clapack, but it is apparently required:

make
g++ CLVmain.cpp -w randgen.cpp wstring.cpp warray.cpp wmapping.cpp wmix.cpp wfile.cpp wimport_form.cpp wDimEst.cpp wNLDR.cpp Trees.cpp TreeOPE.cpp Sparse_matrix.cpp greedy_louvain.cpp graph.cpp slicer.cpp label-map.cc community.cpp info.cpp hashfunc.cc hash.cc hungarian.c ClusterForest.cpp ClusterInstance.cpp Forest.cpp rspr.cpp SiblingPair.cpp SPRLCA.cpp SPRNode.cpp UndoMachine.cpp /home/whuang/CLAPACK-3.2.1/lapack_LINUX.a /home/whuang/CLAPACK-3.2.1/blas_LINUX.a /home/whuang/CLAPACK-3.2.1/F2CLIBS/libf2c.a -lm -I/home/whuang/CLAPACK-3.2.1/INCLUDE -DCOMMAND_LINE_VERSION -o CLVTreeScaper -DCOMMAND_LINE_VERSION
g++: error: /home/whuang/CLAPACK-3.2.1/lapack_LINUX.a: No such file or directory
g++: error: /home/whuang/CLAPACK-3.2.1/blas_LINUX.a: No such file or directory
g++: error: /home/whuang/CLAPACK-3.2.1/F2CLIBS/libf2c.a: No such file or directory
Makefile:22: recipe for target 'CLVTreeScaper' failed
make: *** [CLVTreeScaper] Error 1

(I have not yet found how to easily install that in Linux, but will post here if I do).

As well, instructions like:

open the file wdef.h, make sure _MAC is in the file.

are unclear: all possible values are already in the file. This sounds like things must be manually toggled. A naive user will not know what to do.

I have no idea what this is supposed to mean:

open the file Mac_TreeScaper.pro. then change the directory for each library and head file.

Change what to what?

Sorry if this comes off crotchety, I am just trying to help. But I was hoping to play with this over lunch. :bowtie:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions