LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-13-2010, 06:26 PM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 91
Built some new Packages for Slackware...


Hi Forum

I have built some new stuff for Slackware 13...

This is Engineer's stuff, so, pls forgive me for not giving that much attention to other kinds of apps, that may be more the like of the reader ...

I Have built :

XFoil http://web.mit.edu/drela/Public/web/xfoil/
AVL http://web.mit.edu/drela/Public/web/avl/


Calculix http://www.dhondt.de/
CGX


Wings3D http://www.wings3d.com/


Should anybody be interested in any of this, I will gladly share how I did it.


Why don't these guys at Simulia, Dassault Systemes, Autodesk, etc free their source code for us slackers to build Abaqus, Catia, and Inventor for Slackware... ??

BRGDS

PS: Given that CGX, CCX, XFoil and AVL are number-crunching CPU hogs, I used Intel compilers to build them, but the results can easily extrapolate to gcc/gfortran.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-13-2010, 10:12 PM   #2
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 733

Rep: Reputation: 37
You could submit your slackbuilds to www.slackbuilds.org to share with the community.
 
2 members found this post helpful.
Old 01-13-2010, 11:06 PM   #3
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Yup that'd be better! Most slackers rely on Slackbuilds.org for their packages! Good work btw!
 
1 members found this post helpful.
Old 01-15-2010, 12:37 PM   #4
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 91
Hi @tramni1980 @Shylock

I would really like to make Slackbuilds for these.. but I guess that I am not competent enough... :

for all the packages that I built, there was an extensive hackery... ( only exception made to cgx , ( a standard ./configure make trackinstall ) :

I had to create parallel 3 source trees, hack into the makefiles of 2 of them in order for them to build double precision libraries with ifort from INTEL, hack into one source file of the spooles library, to fix an illegal unreferenced function definition ( this is "set" to build in Fotran Compiler of Cray systems ), cd into the main source tree, and finally type make, not before having also hacked the makefile so that the fortran Linker of Intel would not try to find some _MAIN ( -nofor-main directive ) anmd use C++ linker instead.

All this about cgx... AVL and XFoil are only "a bit" harder... but still manageable...

Wings 3d will go easily, once you install ERLANG OTP from slackbuilds, and ESDL library ( erlang bindings for sdl )...

... wether it will run smoothly without segfaulting, this is another story... sometimes it does... sometimes it does not....


Has a will of its own ....

So... for me to automate all this in a slackbuild... it would require me to master sed, and awk.... I am working on this... but I am still "grasshoper"....

BRGDS

Alex
 
Old 01-15-2010, 12:59 PM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,846

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by Alexvader View Post
So... for me to automate all this in a slackbuild... it would require me to master sed, and awk.... I am working on this... but I am still "grasshoper"....
Probably easier to create working copies of the modified files, then generate patches which you can apply during the SlackBuild. These patches modify the source files so that they then resemble your working ones. Also means you don't have to mess around with sed and awk in your script, and everyone can see the changes the patches make by just opening them up. See for example http://slackbuilds.org/repository/13.0/desktop/vwm/, which has a directory called patches. In this directory are three patches I created to modify the Makefiles so it would install correctly (mostly fixing hardcoded paths).

Although the Slackware philosophy encourages the smallest amount of patching as possible, there are times when it's unavoidable, and it seems to me to be the most transparent way of making changes to a source tree.
 
1 members found this post helpful.
Old 01-15-2010, 02:21 PM   #6
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.13.2
Posts: 1,469
Blog Entries: 10

Rep: Reputation: 142Reputation: 142
Quote:
Should anybody be interested in any of this, I will gladly share how I did it.


Why don't these guys at Simulia, Dassault Systemes, Autodesk, etc free their source code for us slackers to build Abaqus, Catia, and Inventor for Slackware... ??
Agree with the comments about the patches, and it might be nice to run this stuff too..

As far as the "Why don't..." question: well the usual answer is Money, in one form or anoher.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have Enlightenment packages built for slack Widgeteye Slackware 7 06-16-2009 10:03 PM
Will RPM play nice with locally built packages? alanhr Linux - General 5 10-20-2008 05:27 AM
check packages built from source syntacticalerror Linux - Newbie 1 10-08-2008 01:58 AM
Updating packages built from source aolong Linux - General 6 02-20-2007 05:22 AM
built-in scripts in Slackware Gary_Menegon Linux - Newbie 7 07-13-2004 07:49 AM


All times are GMT -5. The time now is 03:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration