<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>MAKER installation doesn't have a Makefile.PL. The parameters for compilation of the MPI bindings are being set by mpicc itself, Perl, or environmental variables on your system. In general you want both Perl and OpenMPI to be compiled by the same compiler or you can get cross library problems (as Perl is using the shared libraries in OpenMPI so all communication is really at the C level). This is not always the case, but can happen (I have been fine for the most part mixing pgi, intel, and gcc compiled OpenMPI, but have never tried open64 compilers).</div><div><br></div><div>Alternatively you can try manually setting the values in the following environmental variables before installing MAKER which should affect the parameter settings (this means before even running the 'perl Build.PL' step):</div><div><br></div><div>LDFLAGS=</div><div>LDDLFLAGS=</div><div>CCCDLFLAGS=</div><div>CCDLFLAGS=</div><div><br></div><div>Also you need to export the following variable for OpenMPI to work with shared libraries before trying to install MAKER or run MAKER (this means before even running the 'perl Build.PL' step). It's best just to add it to your ~/.bashrc or ~/.bash_profile.</div><div><br></div><div>export LD_PRELOAD=/share/apps/openmpi/OpenMPI-1.6.3/lib/libmpi.so</div><div><br></div><div>You will need to run 'source ~/.bashrc' or 'source ~/.bash_profile' after adding it to implement the changes into the current terminal session.</div><div><br></div><div>Thanks,</div><div>Carson</div><div><br></div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Alex Sickler <<a href="mailto:sickler.alex@gmail.com">sickler.alex@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Wednesday, 12 June, 2013 2:22 PM<br><span style="font-weight:bold">To: </span> <<a href="mailto:maker-devel@yandell-lab.org">maker-devel@yandell-lab.org</a>><br><span style="font-weight:bold">Cc: </span> <<a href="mailto:sicklaj10@juniata.edu">sicklaj10@juniata.edu</a>><br><span style="font-weight:bold">Subject: </span> [maker-devel] Problem Installing with opencc<br></div><div><br></div><div dir="ltr">Hi all,<div><br></div><div style="">I am trying to install Maker 2.28. When I go to install Maker, it gives the following error message:</div><div style=""><br></div><div style="">/usr/bin/perl /usr/local/share/perl5/ExtUtils/xsubpp -typemap "/usr/share/perl5/ExtUtils/typemap" MPI.xs $<br></div><div style=""><div>/share/apps/openmpi/OpenMPI-1.6.3/bin/mpicc -c -I"/share/apps/maker/src" -I/share/apps/openmpi/OpenMPI-1.6.3/include -D_REENTRANT -D_GNU_SOUR$</div><div>opencc WARNING: unknown flag: -fstack-protector</div><div>opencc WARNING: unknown flag: -fstack-protector</div><div>opencc ERROR: -- not allowed in non XPG4 environment</div><div>opencc ERROR parsing --param=ssp-buffer-size=4: unknown flag</div><div>make: *** [MPI.o] Error 2</div><div><br></div><div style="">The to everything is correct. I tried looking in the Makefile.PL but could not find the "param=" option.</div><div style=""><br></div><div style=""><br></div><div style="">Any help is greatly appreciated,</div><div style="">Alex</div></div></div>
_______________________________________________
maker-devel mailing list
<a href="mailto:maker-devel@box290.bluehost.com">maker-devel@box290.bluehost.com</a>
<a href="http://box290.bluehost.com/mailman/listinfo/maker-devel_yandell-lab.org">http://box290.bluehost.com/mailman/listinfo/maker-devel_yandell-lab.org</a>
</span></body></html>