i am on fedora
here is what about said about build-essential:
Definition: *build-essential*: Informational list of build-essential packages If you do not plan to build Debian packages, you don't need this package. Moreover this package is not required for building Debian packages. This package contains an informational list of packages which are considered essential for building Debian packages.
is gem dependent on debian?
On Jan 6, 2008 11:02 PM, Batuhan Bozkurt batuhan@batuhanbozkurt.com wrote:
I think you need to install build-essential package. BB
Agent Engram wrote:
those *are* the things i tried...
download and install pd-extended (which contains both, pd and gem
http://downloads.sourceforge.net/pure-data/Pd-0.39.3-extended-planetccrma6-i...
this was what I tried to do first.
basically this required that I go to planet CCRMA rebuild my kernal, also get jack, once i did that i tried to run the binaries and got the "floating point error", pd didnt run at all
so i decided to get the extended version source code and build that...
http://downloads.sourceforge.net/pure-data/Pd-0.39.3-extended.tar.bz2
it built with th following installs added yum install autoconf yum install tcl yum install tk yum install tcl-devel yum install tk-devel
well that got pd running, but gem is failing. so did the extended source build gem or not? are more devel packages required that I missed?
download the gem binaries from the gem site
the only site I know of is http://gem.iem.at/ is this what you are talking about? I dont not see *gem binaries for linux* on windows, in fact they recommend on the site building gem, but its my understanding that this comes with pd extended, which I built, and which is not loading the gem libs.
so i have now tried to build gem and it fails during configure because it *seems* to not know how to build using gcc...wierd. who uses g++, i dont even know how to get it.
[root@aalto src]# autoconf configure.ac http://configure.ac>configure [root@aalto src]# chmod 777 configure [root@aalto src]# ./configure checking for Base/configLinux.h.in... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details.
this is driving me a little crazy.
On Jan 6, 2008 9:09 PM, Roman Haefeli <reduzierer@yahoo.de mailto:reduzierer@yahoo.de> wrote:
On Sun, 2008-01-06 at 19:13 -0800, Agent Engram wrote: > i figured out how to build pd, i needed the tcl-devel stuff. > > i was hoping that Gem built with it but alas that would be too easy. gem is an external and not part of pd. > when I run: pd -lib gem i get... > gem: can't load library > because there is no gem installed. > so do I have to build Gem? that is a major pain in linux... this has nothing to do with linux. Gem is an extension, that
provides
additional funcionality to pd, which isn't in the focus of puredata itself. this is completely unrelated to the operating system. in
fact,
there are many ways to get Gem without having to build it. - download the gem binaries from the gem site - install a gem-package from your distro (i know that debian based distros include gem) - download and install pd-extended (which contains both, pd and gem, and a lot of other externals) just in case you decide to build gem yourself, don't forget to
install
also the dev-package for each dependecy. roman ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
--
i am an agent implanted into your unconscious when you abducted by the travelers. look for signs of me in your life.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Uh sorry, I've only worked with debian based linux distros and was thinking that was a global thing. I was using that for the issues with G++ and that "can not build executables" problem. BB
Agent Engram wrote:
i am on fedora
here is what about said about build-essential:
Definition: *build-essential*: Informational list of build-essential packages If you do not plan to build Debian packages, you don't need this package. Moreover this package is not required for building Debian packages. This package contains an informational list of packages which are considered essential for building Debian packages.
is gem dependent on debian?
On Jan 6, 2008 11:02 PM, Batuhan Bozkurt <batuhan@batuhanbozkurt.com mailto:batuhan@batuhanbozkurt.com> wrote:
I think you need to install build-essential package. BB Agent Engram wrote: > those *are* the things i tried... > > > >download and install pd-extended (which contains both, pd and gem > http://downloads.sourceforge.net/pure-data/Pd-0.39.3-extended-planetccrma6-i386.tar.bz2 > this was what I tried to do first. > > basically this required that I go to planet CCRMA rebuild my kernal, > also get jack, > once i did that i tried to run the binaries and got the "floating > point error", pd didnt run at all > > so i decided to get the extended version source code and build that... > > http://downloads.sourceforge.net/pure-data/Pd-0.39.3-extended.tar.bz2 > > it built with th following installs added > yum install autoconf > yum install tcl > yum install tk > yum install tcl-devel > yum install tk-devel > > well that got pd running, but gem is failing. so did the extended > source build gem or not? are more devel packages required that I missed? > > >download the gem binaries from the gem site > the only site I know of is http://gem.iem.at/ is this what you are > talking about? I dont not see *gem binaries for linux* on windows, in > fact they recommend on the site building gem, but its my understanding > that this comes with pd extended, which I built, and which is not > loading the gem libs. > > so i have now tried to build gem and it fails during configure because > it *seems* to not know how to build using gcc...wierd. who uses g++, i > dont even know how to get it. > > [root@aalto src]# autoconf configure.ac <http://configure.ac> <http://configure.ac>>configure > [root@aalto src]# chmod 777 configure > [root@aalto src]# ./configure > checking for Base/configLinux.h.in... yes > checking for g++... no > checking for c++... no > checking for gpp... no > checking for aCC... no > checking for CC... no > checking for cxx... no > checking for cc++... no > checking for cl... no > checking for FCC... no > checking for KCC... no > checking for RCC... no > checking for xlC_r... no > checking for xlC... no > checking for C++ compiler default output file name... configure: > error: C++ compiler cannot create executables > See `config.log' for more details. > > this is driving me a little crazy. > > > On Jan 6, 2008 9:09 PM, Roman Haefeli <reduzierer@yahoo.de <mailto:reduzierer@yahoo.de> > <mailto:reduzierer@yahoo.de <mailto:reduzierer@yahoo.de>>> wrote: > > On Sun, 2008-01-06 at 19:13 -0800, Agent Engram wrote: > > i figured out how to build pd, i needed the tcl-devel stuff. > > > > i was hoping that Gem built with it but alas that would be too > easy. > > gem is an external and not part of pd. > > > when I run: pd -lib gem i get... > > gem: can't load library > > > because there is no gem installed. > > > so do I have to build Gem? that is a major pain in linux... > > this has nothing to do with linux. Gem is an extension, that provides > additional funcionality to pd, which isn't in the focus of puredata > itself. this is completely unrelated to the operating system. in fact, > there are many ways to get Gem without having to build it. > > - download the gem binaries from the gem site > - install a gem-package from your distro (i know that debian based > distros include gem) > - download and install pd-extended (which contains both, pd and > gem, and > a lot of other externals) > > just in case you decide to build gem yourself, don't forget to install > also the dev-package for each dependecy. > > roman > > > > > ___________________________________________________________ > Telefonate ohne weitere Kosten vom PC zum PC: > http://messenger.yahoo.de > > > > > -- > ----------- > i am an agent implanted into your unconscious when you abducted by the > travelers. look for signs of me in your life. > ------------------------------------------------------------------------ > > _______________________________________________ > PD-list@iem.at <mailto:PD-list@iem.at> mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list >
--
i am an agent implanted into your unconscious when you abducted by the travelers. look for signs of me in your life.
Agent Engram wrote:
i am on fedora
thanks for this piece of information. afaik, there are even gem packages in the CCRMA-repositories.
here is what about said about build-essential:
Definition: *build-essential*: Informational list of build-essential packages If you do not plan to build Debian packages, you don't need this package. Moreover this package is not required for building Debian packages. This package contains an informational list of packages which are considered essential for building Debian packages.
what you do need is a c++-compiler. this answers your question "who uses g++, i dont even know how to get it.": g++ is _the_ gnu c++ compiler. almost everyone who wants to compile C++ on linux (and os-x, btw) uses it. since Gem is written in C++ (as opposed to Pd, which is written in C), you need g++.
is gem dependent on debian?
no, not at all. it is just that most people (including me) are using (a) debian (flavour, like ubuntu); that's why there is a bias in the documentation.
since i don't know fedora so much, i will give you generic instructions:
prefer) package-manager frontend, where you can search for packages and select them. search for "g++" and see what it gives you.
g++"; at least here the first four hits deal exactly with your problem
btw, you will need _a lot_ of other packages as well, if you want to have fun with Gem. they should be listed in some README.linux (read through the debian section; the packages on fedora should be named similar).
mfg.asdr IOhannes
well I thought I did have one, its called gcc.
http://directory.fsf.org/project/gpp/ g++ is the traditional nickname of GNU C++, a freely redistributable C++ compiler. It is part of gcc, the GNU compiler suite, and is currently part of that distribution.
[root@aalto]# rpm -q gcc gcc-4.1.1-51.fc5
what you do need is a c++-compiler.
wierd I thought all I would need is gcc, which i thought *was* the GNU cpp compiler, so are you saying it isnt? I do have gcc, but configure doesnt look for gcc...only a bunch of c++ compilers that I am not very familiar with like RCC and FCC, why wouldnt it look for gcc? is there something i need besides plain gcc?
[root@aalto]# yum search g++ Loading "installonlyn" plugin Searching Packages: Setting up repositories planetcore [1/6] planetcore 100% |=========================| 951 B 00:00 planetccrma [2/6] planetccrma 100% |=========================| 1.9 kB 00:00 core [3/6] core 100% |=========================| 1.1 kB 00:00 updates [4/6] updates 100% |=========================| 1.2 kB 00:00 freshrpms [5/6] freshrpms 100% |=========================| 951 B 00:00 extras [6/6] extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 362 kB 00:02 updates : ################################################## 1013/1013 Added 171 new packages, deleted 241 old in 2.65 seconds primary.xml.gz 100% |=========================| 1.3 MB 00:04 extras : ################################################## 4277/4277 Added 0 new packages, deleted 2 old in 4.07 seconds No Matches found
On Jan 7, 2008 12:41 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
Agent Engram wrote:
i am on fedora
thanks for this piece of information. afaik, there are even gem packages in the CCRMA-repositories.
here is what about said about build-essential:
Definition: *build-essential*: Informational list of build-essential packages If you do not plan to build Debian packages, you don't need this package. Moreover this package is not required for building Debian packages. This package contains an informational list of packages which are considered essential for building Debian packages.
what you do need is a c++-compiler. this answers your question "who uses g++, i dont even know how to get it.": g++ is _the_ gnu c++ compiler. almost everyone who wants to compile C++ on linux (and os-x, btw) uses it. since Gem is written in C++ (as opposed to Pd, which is written in C), you need g++.
is gem dependent on debian?
no, not at all. it is just that most people (including me) are using (a) debian (flavour, like ubuntu); that's why there is a bias in the documentation.
since i don't know fedora so much, i will give you generic instructions:
- try to use an interactive (graphical or text-based; whatever you
prefer) package-manager frontend, where you can search for packages and select them. search for "g++" and see what it gives you.
- ask the mother of all evil, google, what it gives you with "fedora
g++"; at least here the first four hits deal exactly with your problem
btw, you will need _a lot_ of other packages as well, if you want to have fun with Gem. they should be listed in some README.linux (read through the debian section; the packages on fedora should be named similar).
mfg.asdr IOhannes
hi again
Agent Engram wrote:
well I thought I did have one, its called gcc.
http://directory.fsf.org/project/gpp/ g++ is the traditional nickname of GNU C++, a freely redistributable C++ compiler. It is part of gcc, the GNU compiler suite, and is currently part of that distribution.
hmm, gcc != gpp c++ != cpp ...
"gcc" stands for the "gnu compiler collection" and the "gnu C compiler". the former contains the latter (and probably a bunch of others, like a c++ compiler); however, the former is usually not a single program but a collection of programs.
anyhow. what i _did_ suggest was: google "edora g++"
the 1st hit i get is "Fedora: g++ install problem", the 2nd one is "g++ missing! - Linux Forums", the 3rd one is "Please help me to install g++ compiler on Fedora 6 - Linux Forums".
ALL of these results tell me one thing: you have to install the package "gcc-g++" to get a c++ compiler.
that is: # yum install gcc-c++
[root@aalto]# rpm -q gcc gcc-4.1.1-51.fc5
what you do need is a c++-compiler.
wierd I thought all I would need is gcc, which i thought *was* the GNU cpp compiler, so are you saying it isnt? I do have gcc, but configure doesnt look for gcc...only a bunch of c++ compilers that I am not very familiar with like RCC and FCC, why wouldnt it look for gcc? is there something i need besides plain gcc?
[root@aalto]# yum search g++
there might be a problem with "g++" being interpreted not literally but as a (broken) regular expression. so yum does not find it. this is either because yum is buggy, or your use of "yum search" is illegal.
mfg.adsr IOhannes
PS: probably there are reasons why people stick to debian rather than fedora :-)
# yum install gcc-c++
this did it...YEE
I also installed mesa-GLU-devel ehich was missing...
ALMOST THERE! THANKS ALL...but I am still getting a load error in pd...
/home/cgraham/installs/Pd-0.39.3-extended/Gem/src/Gem.pd_linux: /home/cgraham/installs/Pd-0.39.3-extended/Gem/src/Gem.pd_linux: undefined symbol: glUniform2i Gem: can't load library
so I read this....
-fPIC: on some architectures (namely x86_64) Gem MUST link against the PIC-versions of certain libraries (ffmpeg, ftgl); on other architectures i think it doesn't hurt to do so either (to be precise: it might hurt, since PIC-code is usually a bit slower)
unfortunately Gem's configure uses "pkg-config" which
does not provide a mechanism (yet?) for getting the
PIC-versions of libraries if needed.
however, you can always export PKG_<libname>_LIBS before
running configure to override the detected values
something like the following should do the trick:
%>export PKG_FFMPEG_LIBS=`ffmpeg-config --plugin-libs avformat`
%>export PKG_FTGL_LIBS=`pkg-config --libs ftgl | sed
's/-lftgl/-lftgl_pic/g'` %>./configure
so I am running an AMD64 should I be concerned with this issue?
On Jan 8, 2008 12:17 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
hi again
Agent Engram wrote:
well I thought I did have one, its called gcc.
http://directory.fsf.org/project/gpp/ g++ is the traditional nickname of GNU C++, a freely redistributable C++ compiler. It is part of gcc, the GNU compiler suite, and is currently part of that distribution.
hmm, gcc != gpp c++ != cpp ...
"gcc" stands for the "gnu compiler collection" and the "gnu C compiler". the former contains the latter (and probably a bunch of others, like a c++ compiler); however, the former is usually not a single program but a collection of programs.
anyhow. what i _did_ suggest was: google "edora g++"
the 1st hit i get is "Fedora: g++ install problem", the 2nd one is "g++ missing! - Linux Forums", the 3rd one is "Please help me to install g++ compiler on Fedora 6 - Linux Forums".
ALL of these results tell me one thing: you have to install the package "gcc-g++" to get a c++ compiler.
that is: # yum install gcc-c++
[root@aalto]# rpm -q gcc gcc-4.1.1-51.fc5
what you do need is a c++-compiler.
wierd I thought all I would need is gcc, which i thought *was* the GNU cpp compiler, so are you saying it isnt? I do have gcc, but configure doesnt look for gcc...only a bunch of c++ compilers that I am not very familiar with like RCC and FCC, why wouldnt it look for gcc? is there something i need besides plain gcc?
[root@aalto]# yum search g++
there might be a problem with "g++" being interpreted not literally but as a (broken) regular expression. so yum does not find it. this is either because yum is buggy, or your use of "yum search" is illegal.
mfg.adsr IOhannes
PS: probably there are reasons why people stick to debian rather than fedora :-)
Agent Engram wrote:
# yum install gcc-c++
this did it...YEE
I also installed mesa-GLU-devel ehich was missing...
ALMOST THERE! THANKS ALL...but I am still getting a load error in pd...
/home/cgraham/installs/Pd-0.39.3-extended /Gem/src/Gem.pd_linux: /home/cgraham/installs/Pd-0.39.3-extended/Gem/src/Gem.pd_linux: undefined symbol: glUniform2i Gem: can't load library
this is really a known issue, though it is not in the "KNOWN ISSUES" section.
basically it means that your gfx-driver does not support openGL-2.0. either try upgrading your driver or downgrading Gem. (Gem is a bit optimistic about which openGL-version is expects)
for the former read the documentation of your driver. for the latter, try one of these:
Gem-sources and recompile: offending files are . Manips/glsl_*.cpp . openGL/GEMglUniform1fARB.cp
(runtime check of openGL-functionality)
so I read this....
KNOWN ISSUES
-fPIC:
so I am running an AMD64 should I be concerned with this issue?
no, this only affects you, when you cannot _link_ Gem. since you are already a step further (not being able to _load_ a compiled/linked Gem), the build-system has taken care of this hurdle for you.
fgmasdr.- IOhannes
WE DID IT! YEEEEEEE!
Yall rock the free world. So i am going to get a blog together on my building of the reactable a and make a cookbook so if someone wants to build on fedora they can know all this stuff.
You are a special snowflake and I love you all.
kisses
agent engram.
On Jan 9, 2008 12:46 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
Agent Engram wrote:
# yum install gcc-c++
this did it...YEE
I also installed mesa-GLU-devel ehich was missing...
ALMOST THERE! THANKS ALL...but I am still getting a load error in pd...
/home/cgraham/installs/Pd-0.39.3-extended /Gem/src/Gem.pd_linux: /home/cgraham/installs/Pd-0.39.3-extended/Gem/src/Gem.pd_linux: undefined symbol: glUniform2i Gem: can't load library
this is really a known issue, though it is not in the "KNOWN ISSUES" section.
basically it means that your gfx-driver does not support openGL-2.0. either try upgrading your driver or downgrading Gem. (Gem is a bit optimistic about which openGL-version is expects)
for the former read the documentation of your driver. for the latter, try one of these:
- configure Gem with "./configure --with-glversion=1.5"
- delete source-files containing calls to "glUniform..." from the
Gem-sources and recompile: offending files are . Manips/glsl_*.cpp . openGL/GEMglUniform1fARB.cp
- google for "glUniform2i Gem"...
- convince somebody that they should finally code the glew-support
(runtime check of openGL-functionality)
so I read this....
KNOWN ISSUES
-fPIC:
so I am running an AMD64 should I be concerned with this issue?
no, this only affects you, when you cannot _link_ Gem. since you are already a step further (not being able to _load_ a compiled/linked Gem), the build-system has taken care of this hurdle for you.
fgmasdr.- IOhannes
On 1/8/08, Agent Engram agentengram@gmail.com wrote:
well I thought I did have one, its called gcc.
http://directory.fsf.org/project/gpp/ g++ is the traditional nickname of GNU C++, a freely redistributable C++ compiler. It is part of gcc, the GNU compiler suite, and is currently part of that distribution.
[root@aalto]# rpm -q gcc gcc-4.1.1-51.fc5
Most distributions package g++ separately from gcc. I don't use fedora, but I think they cann the package gcc-g++.
# yum install gcc-g++
-- Russell
wow, thats really bad news considering I cant figure out how to get the Pd distro to work on fedora.
i guess I am going to have to go to windows, getting Gem and pd to work took about 5 minutes, so far I have spent two days (~12 hrs) trying to get it to run on fedora. oh well I really wanted to get this working on linux. I know some of you say its easy but I have been using linux for 6 years admittedly not as an expert, but I am a no dummy either, and pd is still not fully working. I know my case was wrong on pd -lib gem but I changed the case to pd -lib Gem and it still fails. Sorry to vent I am just so frustrated, and next I face trying to get a webcam to work when the phillips driver is gone.
you see I am trying to build a reactable. I have most of it working in windows but it really *should* be a linux device.
I REALLY appreciate everyones help so far.
Clay
On Jan 7, 2008 6:05 AM, Patrice Colet pat@mamalala.org wrote:
Agent Engram a écrit :
i am on fedora
I could never build Gem on Fedora, anyone have done it?
Hallo, Agent Engram hat gesagt: // Agent Engram wrote:
i guess I am going to have to go to windows, getting Gem and pd to work took about 5 minutes, so far I have spent two days (~12 hrs) trying to get it to run on fedora.
It seems that it first took you 12h to get a c++ compiler running.
Frank Barknecht _ ______footils.org__
On Jan 7, 2008, at 9:05 AM, Patrice Colet wrote:
Agent Engram a écrit :
i am on fedora
I could never build Gem on Fedora, anyone have done it?
Pd-extended is built every night on Fedora+PlanetCCRMA. It's one of
the auto-build servers.
.hc
kill your television