Fedora Linux Support Community & Resources Center
  #1  
Old 4th February 2012, 02:39 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 295
linuxfirefox
How to extract a bundled libray (SOLID-2.0) from speed-dreams

How to extract a bundled libray (SOLID-2.0) from speed-dreams and build a seperately
rpm package.

Basically, bundled libraries are not allowed in Fedora, see
http://fedoraproject.org/wiki/Packag...dled_Libraries.


The src/modules/simu/simuv2.1/SOLID-2.0 lib should be packaged
separately as rpm package. Since it doesn't exist in Fedora today
qhull, which SOLID possibly depends on, exists in Fedora (v 2003.1).

The original extracted SOURCE from speed-dreams is available on:
https://www.disk.dsl.o2online.de/Fcl...?a=NpxXkKQZ50k

Installation

In case you have a recent GNU developers environment installed, simply
typing `make' in the root of the distribution directory will build the
library, a sample client and documentation.

If you want to use another compiler, you should make the necessary changes
to the `Make-config' file in the root directory. Also, if you wish to
build a SOLID that uses the Qhull library, you need to make adjustments to
the `Make-config' file. This file contains instructions on how to
incorporate Qhull.

The auxiliary C++ classes in `include/3D' may be used for performing 3D
transformations. The classes have all their code inlined, so you do not
need to link a library in order to use them.


Can somebody help me to create a Make-config for SOLID-2.0

thanks Martin
Reply With Quote
  #2  
Old 4th February 2012, 02:46 PM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: How to extract a bundled libray (SOLID-2.0) from speed-dreams

Moved to Packaging


https://bugzilla.redhat.com/show_bug.cgi?id=785371


Where's the homepage for the solid lib? (provide download link).
Reply With Quote
  #3  
Old 4th February 2012, 05:41 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 295
linuxfirefox
Re: How to extract a bundled libray (SOLID-2.0) from speed-dreams

Quote:
Originally Posted by leigh123linux View Post
Moved to Packaging


https://bugzilla.redhat.com/show_bug.cgi?id=785371


Where's the homepage for the solid lib? (provide download link).
the homepage is here:
http://www.win.tue.nl/~gino/solid/
October 19, 2002. The LGPL SOLID version 2.0 has been fixed an renamed to FreeSOLID. FreeSOLID is available at SourceForge.
Reply With Quote
  #4  
Old 4th February 2012, 06:43 PM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: How to extract a bundled libray (SOLID-2.0) from speed-dreams

Quote:
Originally Posted by TheBigRed View Post
the homepage is here:
http://www.win.tue.nl/~gino/solid/
October 19, 2002. The LGPL SOLID version 2.0 has been fixed an renamed to FreeSOLID. FreeSOLID is available at SourceForge.

I think you should package freesolid and try and edit the speed-dream config files to use it.
Reply With Quote
  #5  
Old 4th February 2012, 07:54 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 295
linuxfirefox
Re: How to extract a bundled libray (SOLID-2.0) from speed-dreams

Quote:
Originally Posted by leigh123linux View Post
I think you should package freesolid and try and edit the speed-dream config files to use it.
The guys from the SD user forum told me:

Quote:
Hi, Martin.

>> * SOLID 2, bundled in our Simu V2.1 engine. It is GPL 2.
>
> which is the correct SOLID 2 library that i need for building
> a seperately rpm package.
>
> I found different versions on http://www.win.tue.nl/~gino/solid/

At first sight, seems FreeSOLID 2

http://sourceforge.net/projects/free...LID-2.1.1.zip/

is from far closer to our src/modules/simu/simuv2.1/SOLID2.0 embedded one.

But there are many more source files inside,
and the "libsolid" subfolder, while very close to our
src/modules/simu/simuv2.1/SOLID2.0 one, has some differences.

It ships some more source files, but for the other common source files,
there are also some differences :
* some harmless / useful ones about inhibiting MSVC warnings,
* some other harmless ones (renaming variables, ...)
* + some others I can't evaluate myself.

May be a physicist could go further ;-)

Please, try this one, and let's see what's happening.

Cheers,

Jean-Philippe.


---------- Post added at 07:54 PM ---------- Previous post was at 07:47 PM ----------

the first attempt brings:

Code:
unzip FreeSOLID-2.1.1.zip
cd FreeSOLID-2.1.1
chmod +x configure
./configure && make

g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I./include -I. -I../libbroad -I../libmoto -g -O2 -MT Response.lo -MD -MP -MF .deps/Response.Tpo -c Response.cpp  -fPIC -DPIC -o .libs/Response.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I./include -I. -I../libbroad -I../libmoto -g -O2 -MT Response.lo -MD -MP -MF .deps/Response.Tpo -c Response.cpp -o Response.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include   -I../include -I./include -I. -I../libbroad -I../libmoto  -g -O2 -MT RespTable.lo -MD -MP -MF ".deps/RespTable.Tpo" -c -o RespTable.lo RespTable.cpp; \
then mv -f ".deps/RespTable.Tpo" ".deps/RespTable.Plo"; else rm -f ".deps/RespTable.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I./include -I. -I../libbroad -I../libmoto -g -O2 -MT RespTable.lo -MD -MP -MF .deps/RespTable.Tpo -c RespTable.cpp  -fPIC -DPIC -o .libs/RespTable.o
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I./include -I. -I../libbroad -I../libmoto -g -O2 -MT RespTable.lo -MD -MP -MF .deps/RespTable.Tpo -c RespTable.cpp -o RespTable.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include   -I../include -I./include -I. -I../libbroad -I../libmoto  -g -O2 -MT C-api.lo -MD -MP -MF ".deps/C-api.Tpo" -c -o C-api.lo C-api.cpp; \
then mv -f ".deps/C-api.Tpo" ".deps/C-api.Plo"; else rm -f ".deps/C-api.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I./include -I. -I../libbroad -I../libmoto -g -O2 -MT C-api.lo -MD -MP -MF .deps/C-api.Tpo -c C-api.cpp  -fPIC -DPIC -o .libs/C-api.o
C-api.cpp: In function 'void dtVertexIndices(DtPolyType, DT_Count, const DT_Index*)':
C-api.cpp:156:18: error: expected type-specifier
C-api.cpp:156:18: error: cannot convert 'int*' to 'const Polytope*' in assignment
C-api.cpp:156:18: error: expected ';'
make[1]: *** [C-api.lo] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/FreeSOLID-2.1.1/libsolid'
make: *** [all-recursive] Error 1
Reply With Quote
Reply

Tags
bundled, extract, libray, solid20, speeddreams

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rpm spec file for Speed Dreams TheBigRed Programming & Packaging 33 22nd August 2012 04:58 PM
bundled dsl lines raymd23 Servers & Networking 0 11th June 2009 10:30 AM
Wireless dreams Silvine Hardware & Laptops 9 6th February 2007 07:41 AM
Bundled firefox too slow Hitman1 Using Fedora 0 18th March 2006 07:25 PM
k3b bundled in FC3 download? themadscientist Using Fedora 21 3rd April 2005 12:09 AM


Current GMT-time: 20:48 (Tuesday, 25-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Vikindu Photos - Frederico Westphalen Photos on Instagram - Bang Kruai