SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have successfully built the hdf5 package whose files are coming from slackbuilds. It just builds fine. I installed it without problem. Though I don't know what is it for
I'm using that PC with slackware-current as of apr 20, 2010 (via putty from my office PC - WinXP)
Hi,
The problem isnt building hdf5. And I think Eric talked to the people at SBo cause the link was pointing to a non-existing source, but it was changed, and probably the .SlackBuild file too was updated.
No the problem is compiling mnc2nii. After I've installed the two requirements, NetCDF and HDF5, and tried to build my own .SlackBuild file, I get the error up above. I enabled minc2 in the ./configure section just like it said in the README and INSTALL files, still, I think I'm missing something, cause the compiler is complaining about an undefined constant that "is supposed to" come with the source of mnc2nii.
Any help would be much appreciated.
Cheers,
Dumdadum
ps: I too log into my slack machine from work. I will be working on this build all day probly...
Yes you were right it did help. I subscribed to the mailing list and posted my second question there. After adding the definition for the constant, I ran the script again, and this time I was quick enough to notice an important warning:
The ./configure option --enable-minc2 was described in the INSTALL.minc file of the source code. Its weird that I added this option and that ./configure doesnt recognize it. This is the ./configure section of my script:
You may want to consider using the last stable minc1 version 1.5.1 as it has less extra dependencies(just libtext-format-perl-0.52).
For the newer version use 2.0.18:
compile and install netcdf-3.6.1 first.
run ldconfig
Then compile and install hdf5-1.6.6 (using the later hdf5-1.8.x will not work)
run ldconfig
compile and install minc-2.0.18
run ldconfig
compile and install libtext-format-perl-0.52
compile and install libgetopt-tabular-perl-0.3
You can use src2pkg to build and package all these very handily.
The --enable-minc2 option is deprecated (it's now the default)
You may want to consider using the last stable minc1 version 1.5.1 as it has less extra dependencies(just libtext-format-perl-0.52).
No thanks, my roomate needs version 2, so I will get it working, surely someone else did it.
Quote:
For the newer version use 2.0.18:
compile and install netcdf-3.6.1 first.
run ldconfig
Then compile and install hdf5-1.6.6 (using the later hdf5-1.8.x will not work)
run ldconfig
compile and install minc-2.0.18
run ldconfig
compile and install libtext-format-perl-0.52
compile and install libgetopt-tabular-perl-0.3
Ok so I compiled the versions you described of hdf5 and netcdf and it worked. Thing is I never found anything on the web for libtext and libgetopt. You have a link for those?
Quote:
You can use src2pkg to build and package all these very handily.
The --enable-minc2 option is deprecated (it's now the default)
Yeah I used src2pkg. Still, I would like one day to do my own building scripts. I find src2pkg is like cheating (= hehehe A real slacker should be able to do a script on his own from scratch. Still, thanks for the tip, cause it worked with src2pkg. Thanks also for letting me know --enable-minc2 is deprecated.
Just serach for the perl stuff together with the word 'debian' and you'll find the sources -again src2pkg builds them fine. Learn to be a whiz at modifying src2pkg build scripts, when needed, and you'll have no need to be embarrased about using it... Besides, building a good package entails a lot more than just being able to write a good build script.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.