You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2007-05-08 10:00:11

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Where to Begin, Need help from Linux Know it All!

I just downloaded Desmume 0.6 and have been trying to get it to work, but I don't even know how to do this compiling and binary and sources.

I'm a windows person but I have to do this in Linux, I'm stuck with a Linux computer so can anyone who knows Linux please explain to me how this stuff works.
I read the readmefile and I entered in the stuff it said in terminal, but when I entered in./configure something went wrong and it said something about my clock being wrong, don't know how to change clock.
Please someone help me.....


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#2 2007-05-08 12:02:40

snkmad
Member
Registered: 2007-03-17
Posts: 141
Website

Re: Where to Begin, Need help from Linux Know it All!

Could you try to post the error log here, it would be very helpfull.


Athlon 64 X2 3800+ / 2Gb DDR2 800Mhz
Geforce 8600GT 256MB / Windows XP PRO SP3
http://desmume.org/compatibility-list/

Offline

#3 2007-05-08 18:21:49

XTra KrazzY
Member
Registered: 2007-03-23
Posts: 108

Re: Where to Begin, Need help from Linux Know it All!

GCC, use your best friend.

Last edited by XTra KrazzY (2007-05-08 18:22:17)


If you are reading this signature, you SERIOUSLY need to get a life.

Offline

#4 2007-05-08 22:48:45

masscat
Member
From: UK
Registered: 2007-03-17
Posts: 73
Website

Re: Where to Begin, Need help from Linux Know it All!

What Linux distribution are you using (e.g. Debian, Fedora)?

Under Debian/Ubuntu it is pretty easy to set up the build environment.

Offline

#5 2007-05-09 10:00:54

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

I'm using Ubuntu and hold on....ok

I ran it and when I try ./configure I get

"f0606994@pc114:~/Desktop/desmume-0.6.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock"


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#6 2007-05-09 11:38:50

snkmad
Member
Registered: 2007-03-17
Posts: 141
Website

Re: Where to Begin, Need help from Linux Know it All!

I dont understand much of linux, but looks like your build environment is some what out-dated.

Last edited by snkmad (2007-05-09 11:43:47)


Athlon 64 X2 3800+ / 2Gb DDR2 800Mhz
Geforce 8600GT 256MB / Windows XP PRO SP3
http://desmume.org/compatibility-list/

Offline

#7 2007-05-09 12:53:56

masscat
Member
From: UK
Registered: 2007-03-17
Posts: 73
Website

Re: Where to Begin, Need help from Linux Know it All!

You can set the time and date by right clicking on the date and clock displayed in the top right hand corner of the screen or through the Desktop->Administration menu.

To get the tools for building run Synaptic Package Manager (under the Desktop->Administration menu again) and select the following packages for install:

gcc
autoconf
automake
libgtk2.0-dev
libglade2-dev
libsdl-dev
cvs (if you want access to the latest code)

Once those are installed (along with the packages they depend on) you should have all you need (unless I have forgotten some).

Also what version of Ubuntu are you running (System->About Ubuntu  will tell you)?

Last edited by masscat (2007-05-09 13:13:12)

Offline

#8 2007-05-10 08:08:23

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

I can't change the time or dare, it asks for the admin password which I don't have.

You see I'm on a university computer, I have one at but its too slow so that game barely moves. The Unniversity one is only where its playable, still slow but playable. Doesn't take day to load intro.

Anyway I've got windows at home, but Uni comps are Linux so I'm trying to get Desmume 0.6 instead of 0.3, but I can't adjust date or time so what do I do?

Can't they just give us The desmume GTK already make like it was done with 0.3?


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#9 2007-05-10 11:21:02

snkmad
Member
Registered: 2007-03-17
Posts: 141
Website

Re: Where to Begin, Need help from Linux Know it All!

Well you would need someone with the same ubuntu version as yours, and the person would need to compile the bins for you.
But then you would still need GTK and Glade installed on your linux machine...


Athlon 64 X2 3800+ / 2Gb DDR2 800Mhz
Geforce 8600GT 256MB / Windows XP PRO SP3
http://desmume.org/compatibility-list/

Offline

#10 2007-05-10 17:49:33

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

Why do I need all 3, aren't they just different ways of opening it?

If I do I guess, now i just gotta find out what my Ubuntu version, I wonder how.....and then I have to find someone who has the same version and would be willing to to send me the already made files. I hope there is someone who would!


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#11 2007-05-11 06:31:14

evilynux
Member
From: Montréal
Registered: 2007-03-17
Posts: 118
Website

Re: Where to Begin, Need help from Linux Know it All!

Is there really a clock skew? What's the output of `date -R`?

Edit: By the way, i'll provide binary packages for Debian (which should be compatible with Ubuntu). But that may be of little help to you since you don't have the admin rights.

Moreover, if you're missing a build dependency, e.g. libgtkglext1-dev, you won't be able to build desmume on your university computer since you won't be able to install it. You may want to use `dpkg -s package_name` at the command line to find out if you have the library (e.g. `dpkg -s libgtkglext1-dev`).

Last edited by evilynux (2007-05-11 06:41:09)

Offline

#12 2007-05-11 06:45:05

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

Oh, yeah sometime in Feburary it says, always been that way.

I've got Ubuntu 5.10, anyone got the same?


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#13 2007-05-11 08:42:13

masscat
Member
From: UK
Registered: 2007-03-17
Posts: 73
Website

Re: Where to Begin, Need help from Linux Know it All!

If you set the modification time on the files from the desmume source tarball to your current system time then that may help. Change directory to the desmume directory and run the following to do it:

touch -c `find .`

If/when evilynux releases a Debian package then you could extract the package contents locally and then find and run the binary from there. Something like the following:

mkdir desmume_local
dpkg-deb -x <path_to_evilynux_debian_package.deb> desmume_local

Offline

#14 2007-05-11 13:31:10

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

Well U did touc -c'find' thing and I could configure, but now it stops when I enter make

f0606994@pc138:~/Desktop/desmume-0.6.0$ make
make: Warning: File `Makefile' has modification time 7.4e+06 s in the future
Making all in src
make[1]: Entering directory `/home/f0606994/Desktop/desmume-0.6.0/src'
make[1]: Warning: File `.deps/wifi.Po' has modification time 7.4e+06 s in the future
Making all in .
make[2]: Entering directory `/home/f0606994/Desktop/desmume-0.6.0/src'
make[2]: Warning: File `.deps/wifi.Po' has modification time 7.4e+06 s in the future
make[2]: Nothing to be done for `all-am'.
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/home/f0606994/Desktop/desmume-0.6.0/src'
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/home/f0606994/Desktop/desmume-0.6.0/src'
make[1]: Entering directory `/home/f0606994/Desktop/desmume-0.6.0'
make[1]: Warning: File `Makefile' has modification time 7.4e+06 s in the future
make[1]: Nothing to be done for `all-am'.
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/home/f0606994/Desktop/desmume-0.6.0'
make: warning:  Clock skew detected.  Your build may be incomplete.


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#15 2007-05-11 15:55:30

evilynux
Member
From: Montréal
Registered: 2007-03-17
Posts: 118
Website

Re: Where to Begin, Need help from Linux Know it All!

I've create Debian packages from which you may extract the binaries.

If you have a i386 cpu grab:
http://organact.mine.nu/dokuwiki/lib/ex … 1_i386.deb

If you have a amd64/emt64 cpu, grab:
http://organact.mine.nu/dokuwiki/lib/ex … _amd64.deb

Once you have the package...:
1) `ar x desmume_0.7.0-1_amd64.deb` : you'll get a control.tar.gz and a data.tar.gz
2) `tar -zxvf data.tar.gz` : you'll get the binaries and glade interfaces
3) Create yourself a desmume directory.
4) `cp usr/games/desmume* /path/to/your_desmume_dir/`
5) `cp -r usr/share/games/desmume/glade /path/to/your_desmume_dir/`
6) `cd /path/to/your_desmume_dir/ && ./desmume-glade`

Voilà!

Edit: Those Debian packages will be available from the http://desmume.org and the sf.net project page shortly.

Last edited by evilynux (2007-05-11 15:56:07)

Offline

#16 2007-05-14 18:53:34

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

Thanks, I tried that but I messed up somewhere, when doing the director part can you please rewrite that but put the parts I must change to my own directory path in square brackets, coz I must of messed up somewhere.

I know to get to my path I type cd Games/Desmume, but I tried and things went wrong somewhere.


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#17 2007-05-15 15:28:06

evilynux
Member
From: Montréal
Registered: 2007-03-17
Posts: 118
Website

Re: Where to Begin, Need help from Linux Know it All!

Using dpkg-deb as suggested by Masscat makes it much simpler:
1) `dpkg-deb -x desmume_0.7.0-1_amd64.deb /path/to/your_desmume_dir/`.
2) `cd /path/to/your_desmume_dir/usr/games/ && ./desmume`

Offline

#18 2007-05-17 09:22:15

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

Its not working still....whats wrong....?

f0606994@pc126:~$ dpkg-deb -x desmume_0.7.0-1_amd64.deb /Games/
dpkg-deb: failed to create directory: Permission denied

Sorry I'm a pest coz this won't work...:(


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#19 2007-05-17 10:10:08

masscat
Member
From: UK
Registered: 2007-03-17
Posts: 73
Website

Re: Where to Begin, Need help from Linux Know it All!

You will not have permission to write files anywhere except your home directory.
Do the following:

cd
mkdir local_desmume
dpkg-deb -x desmume_0.7.0-1_amd64.deb local_desmume
cd local_desmume/usr/games/
./desmume

Offline

#20 2007-05-17 13:31:59

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

It works at first, but towards the end

f0606994@pc126:~$ cd local_desmume/usr/games/
f0606994@pc126:~/local_desmume/usr/games$ ./desmume
bash: ./desmume: cannot execute binary file
f0606994@pc126:~/local_desmume/usr/games$


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#21 2007-05-18 16:25:26

evilynux
Member
From: Montréal
Registered: 2007-03-17
Posts: 118
Website

Re: Where to Begin, Need help from Linux Know it All!

PyroWarriorZ wrote:

It works at first, but towards the end

f0606994@pc126:~$ cd local_desmume/usr/games/
f0606994@pc126:~/local_desmume/usr/games$ ./desmume
bash: ./desmume: cannot execute binary file
f0606994@pc126:~/local_desmume/usr/games$

Do you really have a 64bit CPU?
If not, you need the i386 Debian package.

Offline

#22 2007-05-21 07:32:35

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

Tried with other one

f0606994@pc150:~$ dpkg-deb -x desmume_0.7.0-1_i386.deb local_desmume
tar: ./usr/games/desmume-glade: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr/games/desmume: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr/games/desmume-cli: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr/games: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr/share/games/desmume/glade/DeSmuMe_Dtools.glade: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: ./usr/share/games/desmume/glade/DeSmuMe.glade: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: ./usr/share/games/desmume/glade/DeSmuME.xpm: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: ./usr/share/games/desmume/glade: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: ./usr/share/games/desmume: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: ./usr/share/games: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr/share/doc/desmume/README: time stamp 2007-02-04 10:10:25 is 30127161 s in the future
tar: ./usr/share/doc/desmume/README.LIN: time stamp 2007-04-27 00:21:17 is 37176613 s in the future
tar: ./usr/share/doc/desmume/AUTHORS: time stamp 2007-03-17 18:58:13 is 33701229 s in the future
tar: ./usr/share/doc/desmume/README.Debian: time stamp 2007-05-11 07:45:17 is 38412853 s in the future
tar: ./usr/share/doc/desmume/copyright: time stamp 2007-05-11 07:45:17 is 38412853 s in the future
tar: ./usr/share/doc/desmume/changelog.gz: time stamp 2007-05-11 07:03:22 is 38410338 s in the future
tar: ./usr/share/doc/desmume/changelog.Debian.gz: time stamp 2007-05-11 07:46:23 is 38412919 s in the future
tar: ./usr/share/doc/desmume: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr/share/doc: time stamp 2007-05-11 08:14:24 is 38414600 s in the future
tar: ./usr/share/pixmaps/DeSmuME.xpm: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: ./usr/share/pixmaps: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr/share/applications/desmume.desktop: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: ./usr/share/applications/desmume-glade.desktop: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: ./usr/share/applications: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr/share: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
tar: ./usr: time stamp 2007-05-11 08:14:23 is 38414599 s in the future
tar: .: time stamp 2007-05-11 08:14:25 is 38414601 s in the future


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#23 2007-05-21 21:33:30

evilynux
Member
From: Montréal
Registered: 2007-03-17
Posts: 118
Website

Re: Where to Begin, Need help from Linux Know it All!

PyroWarriorZ wrote:

Tried with other one
f0606994@pc150:~$ dpkg-deb -x desmume_0.7.0-1_i386.deb local_desmume
tar: ./usr/games/desmume-glade: time stamp 2007-05-11 08:14:26 is 38414602 s in the future
[...]

Those are warnings, once extracted, can you execute it?

Offline

#24 2007-05-22 06:18:54

PyroWarriorZ
Member
From: South Africa
Registered: 2007-05-08
Posts: 12
Website

Re: Where to Begin, Need help from Linux Know it All!

Nope....


"Before you judge a someone, walk a mile in their shoes. That way you will be a mile away and have their shoes!"

Offline

#25 2007-05-22 09:14:21

masscat
Member
From: UK
Registered: 2007-03-17
Posts: 73
Website

Re: Where to Begin, Need help from Linux Know it All!

Get the Uni to correctly set the time or fix the RTC on the computer.

Offline

Board footer

Powered by FluxBB