If you cd into BUILD/freesurfer-6.0.0/lta_convert, does the file lta_convert.help.xml.h exist?
Also, run ‘make' while in the lta_convert directory to see if the error output provides more details. If not, can you send me the contents of BUILD/freesurfer-6.0.0/lta_convert/Makefile?

thanks
Andrew

On Oct 3, 2017, at 1:16 PM, Sol Jerome <solj@utdallas.edu> wrote:

I think so. I am actually attempting to build an RPM. Here is my spec
file:


Name:           freesurfer
Version:        6.0.0
Release:        1%{?dist}
Summary:        FreeSurfer Software Suite

License:        Proprietary
URL:            https://surfer.nmr.mgh.harvard.edu/
Source0:        https://github.com/freesurfer/freesurfer#/%{name}-%{version}.tar.gz
Source1:        centos6-x86_64-packages.tar.gz

BuildRequires:  freetype-devel, gcc-gfortran, libtool, libuuid-devel, libXaw-devel, libXi-devel, mesa-libGLU-devel, netcdf-devel, tcsh
BuildRequires:  uuid-c++-devel, libXmu-devel, libpng-devel, lapack-static, blas-static
#Requires:      

%description
An open source software suite for processing and analyzing (human)
brain MRI images.


%prep
%setup -q -a1

%build
./setup_configure
%configure --disable-Werror --with-pkgs-dir=$(pwd)/centos6-x86_64-packages --prefix=/opt/%{name}/%{version} --with-mni-dir=$(pwd)/centos6-x86_64-packages/mni/1.5

%install
make install DESTDIR=%{buildroot}

%files
%doc

%changelog
* Thu Sep 28 2017 Sol Jerome <solj@utdallas.edu> - 6.0.0-1
- Initial freesurfer RPM






Thanks,
Sol

* Oct 03, 2017, at 15:42:12 PM, Hoopes, Andrew <AHOOPES@mgh.harvard.edu> wrote:
Hi Sol,

I don't recognize this error, but will look into it. Have you set up the required system libraries and library dependencies described in https://surfer.nmr.mgh.harvard.edu/fswiki/freesurfer_linux_developers_page ?

Andrew


On Oct 2, 2017, at 5:55 PM, Sol Jerome <solj@utdallas.edu<mailto:solj@utdallas.edu>> wrote:

Hi,

I'm trying to build freesurfer on centos7 and I'm pretty sure that this
failure is due to a missing build dependency. Can someone please help me
determine what I'm missing?

Making all in lta_convert
make[2]: Entering directory `/builddir/build/BUILD/freesurfer-6.0.0/lta_convert'
make[2]: Leaving directory `/builddir/build/BUILD/freesurfer-6.0.0/lta_convert'
make[2]: *** No rule to make target `lta_convert.help.xml.h', needed by `all'.  Stop.
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/freesurfer-6.0.0'
make: *** [all] Error 2



Thanks,
Sol
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer