You are not logged in.
I was having the same problems, and fenne's instructions worked for me, with the following difference:
autogen.sh would not run for me, but this worked instead:
autoreconf --force --verbose -i
(Either the "i" instead of "install" or the ordering fixed it...)
The CLI version seems to be up and working now!
I've also figured out how to get openGL recognized. I went ahead and copied all the libGL.dylib stuff from usr/X11r6/lib, and the GL folder from usr/X11r6/include back into their retrospective folders, usr/lib and usr/include. A new ./configure recognized GL and it looks like all the compilations where done with the correct flags, but I still get no 3d output.
Offline
This is the output of autogen.sh using the newest CVS.
o-O:~/desktop/desmume lawl$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
aclocal: configure.ac: 121: macro `AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: aclocal failed with exit status: 1
o-O:~/desktop/desmume lawl$
This is the output of autoreconf --help
o-O:~/Desktop/desmume lawl$ autoreconf --help
Usage: /sw/bin/autoreconf [OPTION] ... [DIRECTORY] ...
Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint'
(formerly `gettextize'), and `libtoolize' where appropriate)
repeatedly to remake the GNU Build System files in specified
DIRECTORIES and their subdirectories (defaulting to `.').
By default, it only remakes those files that are older than their
sources. If you install new versions of the GNU Build System,
you can make `autoreconf' remake all of the files by giving it the
`--force' option.
Operation modes:
-h, --help print this help, then exit
-V, --version print version number, then exit
-v, --verbose verbosely report processing
-d, --debug don't remove temporary files
-f, --force consider all files obsolete
-i, --install copy missing auxiliary files
--no-recursive don't rebuild sub-packages
-s, --symlink with -i, install symbolic links instead of copies
-m, --make when applicable, re-run ./configure && make
-W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax]
Warning categories include:
`cross' cross compilation issues
`gnu' GNU coding standards (default in gnu and gnits modes)
`obsolete' obsolete features or constructions
`override' user redefinitions of Automake rules or variables
`portability' portability issues
`syntax' dubious syntactic constructs (default)
`unsupported' unsupported or incomplete features (default)
`all' all the warnings
`no-CATEGORY' turn off warnings in CATEGORY
`none' turn off all the warnings
`error' treat warnings as errors
The environment variable `WARNINGS' is honored. Some subtools might
support other warning types, using `all' is encouraged.
Library directories:
-B, --prepend-include=DIR prepend directory DIR to search path
-I, --include=DIR append directory DIR to search path
The environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, ACLOCAL,
AUTOPOINT, LIBTOOLIZE, M4 are honored.
Report bugs to <bug-autoconf@gnu.org>.
o-O:~/Desktop/desmume lawl$
Offline
I seem to have found something, and I dont know why, but pkg-config will not work for me.
dyld: Library not loaded: /sw/lib/libglib-1.2.0.dylib
Referenced from: /sw/bin/pkg-config
Reason: image not found
Trace/BPT trap
Its complaining that glib is not installed, which also mirrors the error I am getting from my autogen.sh above. However, fink install glib shows that glib is indeed installed, and yet the dynamic library is not present in the sw/lib directory. I tried reinstalling the newest version manually and alas it gives the pkg-config error.
I'm going to remove my /sw dir and try this all again.
EDIT
I went ahead and reinstalled all the required packages from the binaries with fink commander. However I still get the
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
aclocal: configure.ac: 121: macro `AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: aclocal failed with exit status: 1
Last edited by fenne (2007-07-27 22:24:46)
Offline
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
aclocal: configure.ac: 121: macro `AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: aclocal failed with exit status: 1
Right there, for the current CVS, you need gettext.
I'll need to have a look at how to make that check optionnal as it's only required for the gtk-glade UI.
Offline
fenne wrote:autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
aclocal: configure.ac: 121: macro `AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: aclocal failed with exit status: 1Right there, for the current CVS, you need gettext.
I'll need to have a look at how to make that check optionnal as it's only required for the gtk-glade UI.
I think something must not be getting recognized then. I have installed and reinstalled gettext many times and its still not recognizing it. This is like the same issue I had with glib dylib not being installed correctly with fink. I had to install glib last to get it to stick, if I installed it first the dylib would get removed.
If you can please make it optional so it doesn't bork the whole process if an optional gui ui file is not there, I would use the gtk+ gui anyways, or even the cli just to test that everything is working.
Offline
Hello,i'm italian and i don't speak a good english...sorry
I'm trying to use Desmume but i have some errors each time that i try to running the command "configure" from terminal...the log:
checking build system type... powerpc-apple-darwin8.9.0
checking host system type... powerpc-apple-darwin8.9.0
checking target system type... powerpc-apple-darwin8.9.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking whether byte ordering is bigendian... yes
checking for gzopen in -lz... yes
checking for zzip_open in -lzzip... no
checking for sdl-config... no
checking for sdl11-config... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking for pkg-config... no
WARNING: pkg-config is not available therefore gtk and gtk-glade UIs are not available either.
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
.infig.status: error: cannot find input file: Makefile
host205-232-static:~ Doom90$
I Have installed fink and i have installed the packages that i have readed on a precedent post...how can i create this fuck*in makefile and where can i find the openGL libreries for resolve the problem???
Sorry if this questions are stupid....good night guys
Offline
regarding the problem with /r in configure, can I send a fixed 'configure' to someone to package into 0.7.3 so people on OS X and Ubuntu don't run into this need to run dos2unix? it's a very simple change.
Offline
You may want to use the source tarball i've created for Debian...
I've fixed the configure script and makefiles.
Offline
some one can help me??
Offline
Hi,
Any new way to build the latest Demsume for MacOsX ? I've dowloaded the latest CVS content, I saw that there is a "project" (kinda) in the Cocoa directory, but unusable (.cdb file ??)... So I try ./autogen.sh and got a bunch of errors... is it (still) the right way to build Cocoa Desmume ? I'm "finking" all the needed packages, but it take a lot of time...
It's seems that the binary build on sourceforge is outdated (no sound, no key working, lot of things that are not working).
Offline
In reply to my previous post: I made a working XCode project and was able to build Desmume with the latest sources from CVS.
I can make an archive of my project and send it to the admin to put in the CVS. Ask me for pre build binary (Universal).
Offline
Here is my build:
http://membres.lycos.fr/jvernet/Softs/software.htm
It's supposed to be Universal Binary, but I do not have a Macintel to test,k please report if it work (or not)
Tested on my iBook G4, sound working.
Offline
0.7.3 is building successfully for me using Xcode under 10.4.11. However, at runtime,
fatInitDefault() fails,
and the ARM9 GDB stub doesn't seem to work.
How would I go about building a debug configuration to use with either GDB or Xcode? I naively tried the 'stock' Debug configuration in Xcode but don't get working breakpoints.
Last edited by ghee (2007-12-31 01:32:44)
Offline
Since the previous the 0.7.3 source release did build for me. Synced to head via CVS I still am not able to run autogen.sh successfully.
bast:desmume rhaleblian$ ./autogen.sh
Running intltoolize
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
/sw/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/auto … ng-aclocal
/sw/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /sw/bin/autoconf-2.60 --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:202: required file `${PO_MAKEFILE}.in' not found
autoreconf: automake failed with exit status: 1
configure wants to set ${PO_MAKEFILE} to 'po/Makefile.in', at least conditionally, which would give po/Makefile.in.in, which does exist.
Offline
Built successfully from CVS using CodeBlocks 8.02 on OS X 10.5.2. IOW, I'm taking the README seriously now.
Offline
I'm back.
Looking at the trunk, has there been work to build the GTK flavour on OS X? The cocoa flavour looks a bit broken.
Just to mention why I care: since cflash support breaks for me when upgrading my devkitpro tools to circa r28 on Linux, I would like to get it back again, and under OS X this time. I need to emulate and debug in Insight/GDB/Eclipse for the DSlibris project.
Offline
the cocoa port isnt supported anymore. only the gtk/cli ports have been tested on osx
Offline