all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* compilation errors of trunk version on mac os x expected?
@ 2011-01-20  7:35 emacs user
  2011-01-21  3:38 ` Steve Revilak
  0 siblings, 1 reply; 5+ messages in thread
From: emacs user @ 2011-01-20  7:35 UTC (permalink / raw)
  To: help-gnu-emacs

hello,  Does anyone know if these compilation error messages are a bug
or to be expected?  I still get occasional crashes and am wondering if
these are related...  cheers, E


gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/dbusbind.d  -I/opt/local/include   -
Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-
after-statement -Wno-pointer-sign  -g -O2 dbusbind.c
dbusbind.c: In function 'xd_retrieve_arg':
dbusbind.c:679: warning: comparison is always false due to limited
range of data type
dbusbind.c:679: warning: comparison is always false due to limited
range of data type
dbusbind.c:690: warning: comparison is always false due to limited
range of data type
dbusbind.c:690: warning: comparison is always false due to limited
range of data type
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/emacs.d  -I/opt/local/include   -
Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-
after-statement -Wno-pointer-sign  -g -O2 emacs.c
emacs.c: In function 'main':
emacs.c:732: warning: implicit declaration of function
'unexec_init_emacs_zone'
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/dired.d  -I/opt/local/include   -
Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-
after-statement -Wno-pointer-sign  -g -O2 dired.c
dired.c: In function 'Ffile_attributes':
dired.c:1000: warning: comparison is always false due to limited range
of data type
dired.c:1000: warning: comparison is always false due to limited range
of data type
dired.c:1004: warning: comparison is always false due to limited range
of data type
dired.c:1004: warning: comparison is always false due to limited range
of data type
dired.c:1052: warning: comparison is always false due to limited range
of data type
dired.c:1052: warning: comparison is always false due to limited range
of data type
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/font.d  -I/opt/local/include   -Wimplicit-
function-declaration -Wold-style-definition -Wdeclaration-after-
statement -Wno-pointer-sign  -g -O2 font.c
font.c: In function 'Ffont_get_glyphs':
font.c:4778: warning: comparison is always false due to limited range
of data type
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/nsterm.d  -I/opt/local/include   -
Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-
after-statement -Wno-pointer-sign  -g -O2  nsterm.m
nsterm.m: In function '-[EmacsView keyDown:]':
nsterm.m:4576: warning: 'wantsToDelayTextChangeNotifications' is
deprecated (declared at /System/Library/Frameworks/AppKit.framework/
Headers/NSInputManager.h:112)
nsterm.m: In function '-[EmacsView initFrameFromEmacs:]':
nsterm.m:5184: warning: class 'EmacsView' does not implement the
'NSWindowDelegate' protocol
nsterm.m: In function '-[EmacsScroller setPosition:portion:whole:]':
nsterm.m:5895: warning: 'setFloatValue:knobProportion:' is deprecated
(declared at /System/Library/Frameworks/AppKit.framework/Headers/
NSScroller.h:107)
nsterm.m:5902: warning: 'setFloatValue:knobProportion:' is deprecated
(declared at /System/Library/Frameworks/AppKit.framework/Headers/
NSScroller.h:107)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/nsmenu.d  -I/opt/local/include   -
Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-
after-statement -Wno-pointer-sign  -g -O2  nsmenu.m
nsmenu.m: In function 'ns_update_menubar':
nsmenu.m:460: warning: class 'EmacsMenu' does not implement the
'NSMenuDelegate' protocol
nsmenu.m: In function '-[EmacsMenu initWithTitle:frame:]':
nsmenu.m:536: warning: class 'EmacsMenu' does not implement the
'NSMenuDelegate' protocol
nsmenu.m: In function '-[EmacsMenu fillWithWidgetValue:]':
nsmenu.m:700: warning: 'sizeToFit' is deprecated (declared at /System/
Library/Frameworks/AppKit.framework/Headers/NSMenu.h:281)
nsmenu.m: In function '-[EmacsToolbar initForView:withIdentifier:]':
nsmenu.m:1109: warning: class 'EmacsToolbar' does not implement the
'NSToolbarDelegate' protocol
nsmenu.m: In function '-[EmacsTooltip init]':
nsmenu.m:1240: warning: class 'EmacsTooltip' does not implement the
'NSWindowDelegate' protocol
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/nsselect.d  -I/opt/local/include   -
Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-
after-statement -Wno-pointer-sign  -g -O2  nsselect.m
nsselect.m: In function 'ns_string_from_pasteboard':
nsselect.m:348: warning: 'cString' is deprecated (declared at /System/
Library/Frameworks/Foundation.framework/Headers/NSString.h:367)
nsselect.m:353: warning: 'lossyCString' is deprecated (declared at /
System/Library/Frameworks/Foundation.framework/Headers/NSString.h:368)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/nsimage.d  -I/opt/local/include   -
Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-
after-statement -Wno-pointer-sign  -g -O2  nsimage.m
nsimage.m: In function '+[EmacsImage allocInitFromFile:]':
nsimage.m:192: warning: 'bestRepresentationForDevice:' is deprecated
(declared at /System/Library/Frameworks/AppKit.framework/Headers/
NSImage.h:128)
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
include        -MMD -MF deps/nsfont.d  -I/opt/local/include   -
Wimplicit-function-declaration -Wold-style-definition -Wdeclaration-
after-statement -Wno-pointer-sign  -g -O2  nsfont.m
nsfont.m: In function 'nsfont_open':
nsfont.m:881: warning: 'CGFontCreateWithPlatformFont' is deprecated
(declared at /System/Library/Frameworks/ApplicationServices.framework/
Frameworks/CoreGraphics.framework/Headers/CGFont.h:60)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compilation errors of trunk version on mac os x expected?
  2011-01-20  7:35 emacs user
@ 2011-01-21  3:38 ` Steve Revilak
  0 siblings, 0 replies; 5+ messages in thread
From: Steve Revilak @ 2011-01-21  3:38 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]

>hello,  Does anyone know if these compilation error messages are a bug
>or to be expected?  I still get occasional crashes and am wondering if
>these are related...  cheers, E

>gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
>lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
>libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
>include        -MMD -MF deps/dbusbind.d  -I/opt/local/include   -


The compiler command line uses -I/opt/local/include, which I assume is
macports.

Does it make a difference if you take macports out of the picture?  I
don't *think* you'd need dbus on OS X, but perhaps I'm wrong.

FWIW, I often use a script like this to create a clean environment for
compilations.

---------------------------------
#!/bin/sh
unset LDFLAGS
unset CFLAGS
unset CXXFLAGS
PATH=`echo $PATH | \
  sed 's,:/opt/local/bin,, ; s,:/opt/local/sbin,,'`
export PATH

eval "$@"
---------------------------------

If you called this script "clean-compile", then you'd use it like this

   clean-compile ./configure --with-ns
   clean-compile make  
   clean-compile make-install

Hope that helps.

Steve

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compilation errors of trunk version on mac os x expected?
       [not found] <mailman.9.1295581100.21031.help-gnu-emacs@gnu.org>
@ 2011-03-05 12:36 ` emacs user
  2011-03-05 15:43   ` Matthew L Daniel
       [not found]   ` <mailman.9.1299339797.13665.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: emacs user @ 2011-03-05 12:36 UTC (permalink / raw)
  To: help-gnu-emacs

On Jan 20, 10:38 pm, Steve Revilak <st...@srevilak.net> wrote:
> >hello,  Does anyone know if these compilation error messages are a bug
> >or to be expected?  I still get occasional crashes and am wondering if
> >these are related...  cheers, E
> >gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/emacs/trunk/src -I../
> >lib -I/usr/local/emacs/trunk/src/../lib        -I/opt/local/include/
> >libxml2   -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/
> >include        -MMD -MF deps/dbusbind.d  -I/opt/local/include   -
>
> The compiler command line uses -I/opt/local/include, which I assume is
> macports.
>
> Does it make a difference if you take macports out of the picture?  I
> don't *think* you'd need dbus on OS X, but perhaps I'm wrong.
>
> FWIW, I often use a script like this to create a clean environment for
> compilations.
>
> ---------------------------------
> #!/bin/sh
> unset LDFLAGS
> unset CFLAGS
> unset CXXFLAGS
> PATH=`echo $PATH | \
>   sed 's,:/opt/local/bin,, ; s,:/opt/local/sbin,,'`
> export PATH
>
> eval "$@"
> ---------------------------------
>
> If you called this script "clean-compile", then you'd use it like this
>
>    clean-compile ./configure --with-ns
>    clean-compile make  
>    clean-compile make-install
>
> Hope that helps.
>
> Steve
>
>  application_pgp-signature_part
> < 1KViewDownload

thanks steve!  sounds like a good idea and I switched to compiling
this way.  it seems, unfortunately, that this does not eliminate the
crashes I see.  for example,
http://groups.google.com/group/gnu.emacs.bug/browse_thread/thread/ffec5839b1b859c5

I wish one of the developers on Mac would look into this and ask for
more details etc...

cheers, E


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compilation errors of trunk version on mac os x expected?
  2011-03-05 12:36 ` compilation errors of trunk version on mac os x expected? emacs user
@ 2011-03-05 15:43   ` Matthew L Daniel
       [not found]   ` <mailman.9.1299339797.13665.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Matthew L Daniel @ 2011-03-05 15:43 UTC (permalink / raw)
  To: help-gnu-emacs


>
> thanks steve!  sounds like a good idea and I switched to compiling
> this way.  it seems, unfortunately, that this does not eliminate the
> crashes I see.  for example,
> http://groups.google.com/group/gnu.emacs.bug/browse_thread/thread/ffec5839b1b859c5
>
> I wish one of the developers on Mac would look into this and ask for
> more details etc...
>
> cheers, E
FWIW, I have been building nightly Emacs from trunk for the past few 
days and it always builds fine here. I am not an Emacs developer, 
though, so I couldn't pretend to address the issue in your link.

Emacs reports:
GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35)
  of 2011-03-05 on machine.local

Similar to what Steve said, my build script is thus (and is run from 
cron, so $PATH itself is pretty sparse):

set -e
# it needs chown which amazingly is not in /usr/bin
PATH=$PATH:/usr/sbin:/usr/local/sbin
./configure --with-ns
make bootstrap
make install

I do not have MacPorts installed, in favor of Homebrew 
(http://mxcl.github.com/homebrew/), but as I mentioned earlier, I do not 
believe Homebrew is in the PATH.

   I hope this helps in some small way,
   -- /v\atthew





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compilation errors of trunk version on mac os x expected?
       [not found]   ` <mailman.9.1299339797.13665.help-gnu-emacs@gnu.org>
@ 2011-03-05 18:10     ` emacs user
  0 siblings, 0 replies; 5+ messages in thread
From: emacs user @ 2011-03-05 18:10 UTC (permalink / raw)
  To: help-gnu-emacs

On Mar 5, 10:43 am, Matthew L Daniel <mdan...@gmail.com> wrote:
> > thanks steve!  sounds like a good idea and I switched to compiling
> > this way.  it seems, unfortunately, that this does not eliminate the
> > crashes I see.  for example,
> >http://groups.google.com/group/gnu.emacs.bug/browse_thread/thread/ffe...
>
> > I wish one of the developers on Mac would look into this and ask for
> > more details etc...
>
> > cheers, E
>
> FWIW, I have been building nightly Emacs from trunk for the past few
> days and it always builds fine here. I am not an Emacs developer,
> though, so I couldn't pretend to address the issue in your link.
>
> Emacs reports:
> GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35)
>   of 2011-03-05 on machine.local
>
> Similar to what Steve said, my build script is thus (and is run from
> cron, so $PATH itself is pretty sparse):
>
> set -e
> # it needs chown which amazingly is not in /usr/bin
> PATH=$PATH:/usr/sbin:/usr/local/sbin
> ./configure --with-ns
> make bootstrap
> make install
>
> I do not have MacPorts installed, in favor of Homebrew
> (http://mxcl.github.com/homebrew/), but as I mentioned earlier, I do not
> believe Homebrew is in the PATH.
>
>    I hope this helps in some small way,
>    -- /v\atthew

thanks!  I actually have no problem building, as these are warning
messages only.  it's just that emacs (trunk version) keeps crashing a
few times a day as mentioned in the bug report in the link above.
cheers, E


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-05 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.9.1295581100.21031.help-gnu-emacs@gnu.org>
2011-03-05 12:36 ` compilation errors of trunk version on mac os x expected? emacs user
2011-03-05 15:43   ` Matthew L Daniel
     [not found]   ` <mailman.9.1299339797.13665.help-gnu-emacs@gnu.org>
2011-03-05 18:10     ` emacs user
2011-01-20  7:35 emacs user
2011-01-21  3:38 ` Steve Revilak

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.