[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] binreloc
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] binreloc |
Date: |
Sat, 16 Apr 2011 16:59:09 +0100 |
But, more to the point, binreloc.c will not compile on non unix systems
with ENABLE_BINRELOC defined as it tries to include unix specific
headers. So if you cannot easily control ENABLE_BINRELOC via gub, we can
either abandon binreloc in config.in (again) or I can put stuff around
it so windows will build regardless.
Richard
On Sat, 2011-04-16 at 16:52 +0100, Richard Shann wrote:
> Denemo ignores the binreloc code for windows, and uses glib instead.
> Richard
> the relevant bit of code is below:
> #ifdef G_OS_WIN32
> gchar *rootdir = g_win32_get_package_installation_directory (NULL,
> NULL);
> datadir = g_build_filename (rootdir, "share", "denemo", NULL);
> g_print ("rootdir=%s\n", rootdir);
> g_print ("datadir=%s\n", datadir);
> g_free (rootdir);
> #else /* not G_OS_WIN32 */
> datadir = gbr_find_pkg_data_dir (PKGDATADIR, PKGNAME);
> #endif /* not G_OS_WIN32 */
> On Sat, 2011-04-16 at 10:28 -0500, Jeremiah Benham wrote:
> > I am not sure if windows requires binreloc. You should disable it for
> > the windows build. I believe that is --disable-binreloc I think. Do
> > a ./configure -h to see check the spelling. Gub appears to be trying
> > to build with binreloc.
> >
> > Jeremiah
> >
> > On Apr 16, 2011, at 10:24 AM, Nils Gey <address@hidden> wrote:
> >
> > > Something broke my compiling process for mingw. I don't see this in
> > > linux.
> > >
> > > binreloc.o: In function `gbr_init':
> > > /mnt/sdb3/workdir/gub/target/mingw/src/denemo-git.savannah.gnu.org--
> > > denemo.git-master/src/binreloc.c:98: undefined reference to `_S_ISLNK'
> > > /mnt/sdb3/workdir/gub/target/mingw/src/denemo-git.savannah.gnu.org--
> > > denemo.git-master/src/binreloc.c:76: undefined reference to
> > > `_readlink'
> > >
> > > I have a build-mess currently here. Darwin built a few times but
> > > suddenly it stopped and complained about gtk/gtk.h cannot be found.
> > > I can only imagine this is the current situation, triggered by
> > > binreloc and before that I had some cached data preventing that. I
> > > really don't know anymore, with three build systems indenpendent of
> > > each other.
> > >
> > > Nils
> >
> > _______________________________________________
> > Denemo-devel mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/denemo-devel
>
>
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel
- Re: [Denemo-devel] OSX build, (continued)
- Re: [Denemo-devel] OSX build, Nils Gey, 2011/04/14
- Re: [Denemo-devel] OSX build, Jeremiah Benham, 2011/04/14
- Re: [Denemo-devel] OSX build, Nils Gey, 2011/04/14
- Re: [Denemo-devel] OSX build, Richard Shann, 2011/04/15
- Re: [Denemo-devel] OSX build, Jeremiah Benham, 2011/04/15
- Re: [Denemo-devel] OSX build, Nils Gey, 2011/04/16
- Re: [Denemo-devel] OSX build, Jeremiah Benham, 2011/04/16
- [Denemo-devel] binreloc, Nils Gey, 2011/04/16
- Re: [Denemo-devel] binreloc, Jeremiah Benham, 2011/04/16
- Re: [Denemo-devel] binreloc, Richard Shann, 2011/04/16
- Re: [Denemo-devel] binreloc,
Richard Shann <=
- Re: [Denemo-devel] OSX build, Richard Shann, 2011/04/16