Bugs item #3441428, was opened at 2011-11-23 03:33
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3441428&group_id=165310

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Building / Install
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: libxml2 problems with avogadro squared

Initial Comment:
When building with avogadro squared on a clean 64-bit Linux system I get:

make[5]: *** No rule to make target 
`/home/andy/build/avogadro/build/prefix/lib/libxml2.so', needed by 
`lib/cdxmlformat.so'.  Stop.

The problem is that on a 64-bit system libxml2 installs to 'lib64' directory, 
not 'lib'. The following solution works:

git clone --recursive git://github.com/cryos/avogadro-squared.git
sed -i -e '/LIBXML2_LIBRARIES/s/\/lib\//\/lib64\//' 
avogadro-squared/cmake/External_libxml2.cmake
mkdir build
cd build
cmake ../avogadro-squared 
make

So I guess cmake/External_libxml2.cmake needs to have a conditional based on 
the system being 64-bit. Or perhaps libxml2 can be persuaded to still use 'lib' 
directory via it's configure somehow.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=835077&aid=3441428&group_id=165310

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Avogadro-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avogadro-devel

Reply via email to