Hi,
yesterday I got myself a fresh copy of the squeak vm code from subversion. But I wasn't able to compile. There were compile errors in the Gstreamer Plugin. So I tried to exclude that from the compilation but I didn't find it in VMMaker. Then I looked for a configure switch --without-gstreamer or the like but there isn't one. I only got it compiled through editing of the Makefile. It seems there are a lot of plugins you can't choose to build or not. Dbus is one of these candidates. What is the best way to deal with that. thanks, Norbert |
Am 16.05.2008 um 00:23 schrieb Norbert Hartl <[hidden email]>:
> Hi, > > yesterday I got myself a fresh copy of the squeak vm code > from subversion. But I wasn't able to compile. There were > compile errors in the Gstreamer Plugin. What kind of error? We use autoconf to disable GStreamer if the dependencies are not met. > So I tried to exclude > that from the compilation but I didn't find it in VMMaker. Then > I looked for a configure switch --without-gstreamer or the like > but there isn't one. I only got it compiled through editing of > the Makefile. > > It seems there are a lot of plugins you can't choose to build or > not. Dbus is one of these candidates. Again, this uses autoconf to check. > What is the best way to deal with that. Run VMMaker and generate only the plugins you want. - Bert - |
On Fri, 2008-05-16 at 09:59 -0700, Bert Freudenberg wrote:
> Am 16.05.2008 um 00:23 schrieb Norbert Hartl <[hidden email]>: > > > Hi, > > > > yesterday I got myself a fresh copy of the squeak vm code > > from subversion. But I wasn't able to compile. There were > > compile errors in the Gstreamer Plugin. > > What kind of error? We use autoconf to disable GStreamer if the > dependencies are not met. > > > So I tried to exclude > > that from the compilation but I didn't find it in VMMaker. Then > > I looked for a configure switch --without-gstreamer or the like > > but there isn't one. I only got it compiled through editing of > > the Makefile. > > > > It seems there are a lot of plugins you can't choose to build or > > not. Dbus is one of these candidates. > > Again, this uses autoconf to check. > to choose not to build even if there is support. > > What is the best way to deal with that. > > Run VMMaker and generate only the plugins you want. > That's what I'm saying. I have neither DbusPlugin nor GStreamerPlugin in my list of plugins in VMMaker. I must do something wrong. Do I need to convince VMMaker to rescan the sources? Norbert |
In reply to this post by NorbertHartl
On Fri, May 16, 2008 at 09:23:59AM +0200, Norbert Hartl wrote:
> Hi, > > yesterday I got myself a fresh copy of the squeak vm code > from subversion. But I wasn't able to compile. There were > compile errors in the Gstreamer Plugin. So I tried to exclude > that from the compilation but I didn't find it in VMMaker. Then > I looked for a configure switch --without-gstreamer or the like > but there isn't one. I only got it compiled through editing of > the Makefile. > > It seems there are a lot of plugins you can't choose to build or > not. Dbus is one of these candidates. > > What is the best way to deal with that. Norbert, The plugins in the build process are controlled by the VMMaker code generator. If you select the ones you want in the VMMakerTool, generate the source, then run configure and make, you will be building only the plugins that you originally generated from VMMaker. >From your description, I would guess that your configure is getting aimed at the wrong source file directory. There can be confusion between VMMaker and configure; I personally use the convention of letting VMMaker generate source in ./src32, then symlinking ./src32 to src (this would be src64 when generating code for 64 bit images). I then use a build directory called ./build32 (or ./build64) and run ../platforms/unix/config/configure from that build directory. The configure script follows the symlink and all is well. HTH, Dave |
On Fri, 2008-05-16 at 07:25 -0400, David T. Lewis wrote:
> On Fri, May 16, 2008 at 09:23:59AM +0200, Norbert Hartl wrote: > > Hi, > > > > yesterday I got myself a fresh copy of the squeak vm code > > from subversion. But I wasn't able to compile. There were > > compile errors in the Gstreamer Plugin. So I tried to exclude > > that from the compilation but I didn't find it in VMMaker. Then > > I looked for a configure switch --without-gstreamer or the like > > but there isn't one. I only got it compiled through editing of > > the Makefile. > > > > It seems there are a lot of plugins you can't choose to build or > > not. Dbus is one of these candidates. > > > > What is the best way to deal with that. > > Norbert, > > The plugins in the build process are controlled by the VMMaker > code generator. If you select the ones you want in the VMMakerTool, > generate the source, then run configure and make, you will > be building only the plugins that you originally generated from > VMMaker. > > >From your description, I would guess that your configure is > getting aimed at the wrong source file directory. There can > be confusion between VMMaker and configure; I personally use > the convention of letting VMMaker generate source in ./src32, > then symlinking ./src32 to src (this would be src64 when > generating code for 64 bit images). I then use a build directory > called ./build32 (or ./build64) and run ../platforms/unix/config/configure > from that build directory. The configure script follows the > symlink and all is well. > choosing the right platforms folder is sufficient to get the right listing for the plugin, right? Later I could get into confusion with configure but I'll trace that later on. So, what needs to be done for VMMaker to display all plugins? Norbert |
On 16.05.2008, at 14:21, Norbert Hartl wrote:
> I can't see a plugin DbusPlugin or GStreamerPlugin in VMMaker. I think > choosing the right platforms folder is sufficient to get the right > listing for the plugin, right? Later I could get into confusion with > configure but I'll trace that later on. So, what needs to be done for > VMMaker to display all plugins? If you restarted the VMMaker tool and these plugins are not there, then you probably did not install them. They are not part of the VMMaker package. Possibly the Makefile gets confused if there are plugin sources in Cross/ and unix/ but not src/ ... - Bert - |
On Fri, 2008-05-16 at 14:28 +0200, Bert Freudenberg wrote:
> On 16.05.2008, at 14:21, Norbert Hartl wrote: > > I can't see a plugin DbusPlugin or GStreamerPlugin in VMMaker. I think > > choosing the right platforms folder is sufficient to get the right > > listing for the plugin, right? Later I could get into confusion with > > configure but I'll trace that later on. So, what needs to be done for > > VMMaker to display all plugins? > > > If you restarted the VMMaker tool and these plugins are not there, > then you probably did not install them. They are not part of the > VMMaker package. > > Possibly the Makefile gets confused if there are plugin sources in > Cross/ and unix/ but not src/ ... > keep an layout like vm squeak-svn src32 build I like this in order not to mix squeak-svn with src32. That's easier to read on svn update. The configure.ac is nailed to the squeak-svn directory. Everything is detected from there. Even the --with-src switch adds the parameter to the squeak-svn directory. Furthermore the configure script checks exactly for squeak-svn/src and if it's not there platforms/.../src is used. So I had less chance to get it right :) And then every plugin in the directory gets enabled. Now that I know it I can get what I want. I just do cd vm/build ../squeak-svn/platforms/unix/config/configure --with-src=../src32 That works! thanks for the hint, Norbert |
Free forum by Nabble | Edit this page |