VOGONS


compiling problem of franpa

Topic actions

Reply 40 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

meh, it was still going all freaky over the file... ill try this other sdl tho.

edit: that link is where i got sdl from.
edit 2: if i convert it and open it in notepad... editing it then saving it is wrong... there is still stuff that cant be saved in plain .txt format... which is all notepad supports.

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 41 of 131, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

try wordpad

Reply 42 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

convert file to dos format.

open with wordpad

edit => replace

copy and paste what gulikoza wrote into "find what"

copy and paste what gulikoza wrote into "replace with"

hit replace... nothing happens

hit replace again... it changes the line... i save it then try "make"... get exact same error message.

---

i assume the reason i have to hit replace twice is because wordpad converts the file silently the first time or something.

edit: unless the first time it just highlights what is to be replaced and the 2nd time it does replace it... if this is the case then this doesnt solve anything.

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 43 of 131, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Which file did you download there? Try that SDL-1.2.11.zip (or .tar.gz)

Reply 44 of 131, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

The file is 33 lines, find the line and insert / between $(prefix) and bin. By replacing you might delete the initial tab at the begining of the line which is very important for make

http://www.si-gamer.net/gulikoza

Reply 45 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

replace doesnt work at all with the file in notepad... and inserting the / manually yields no positive result either... maybe you could adjust the file then attach it?

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 46 of 131, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

um if the file is 33 lines long i'm sure you can manually search it,
mixing makefiles does no good

Reply 47 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

nothing i do with the make file works, you guys must have some 3rd party software or something that is affecting your machines in a positive way.

the 19th line is what i need to change... no matter what i do to this line it will not work.

microsoft word 2007 "makefile may contain features that are not compatible with plain text format"

so yes, converting it does not convert it... it just adjusts the layout of the file it seems.

Last edited by franpa on 2007-03-05, 14:24. Edited 1 time in total.

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 48 of 131, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

How about if you write

ln -sf $(prefix)/bin/i386-mingw32msvc-sdl-config $(prefix)/bin/sdl-config

http://www.si-gamer.net/gulikoza

Reply 49 of 131, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author
franpa wrote:

nothing i do with the make file works, you guys must have some 3rd party software or something that is affecting your machines in a positive way.

Can't it be that there is something on you pc that is affecting your machine in a negative way.
Don't assume that the problem is with others please.

Water flows down the stream
How to ask questions the smart way!

Reply 50 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

nope.

it seems all that unix2dos does is adjust the layout of the file and not actually change the format of it.

if you upload a copy that does NOT require ME to edit it in any way then im sure it would work.

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 51 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

Franpa@PAUL ~/sdl-1.2.11
$ make native
Makefile:1: warning: NUL character seen; rest of line ignored
Makefile:1: *** missing separator. Stop.

i managed to make it say that by saving it as unicode.

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 52 of 131, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

franpa - the only thing unix2dos should do is to convert Unix line endings (a single New-Line character, ASCII 10) into DOS line endings: An Carriage Return (ASCII 13) followed by an New Line).

So if the Unix-formatted file was 33 lines long, it should have grown by 33 bytes after conversion (or maybe 35 if unix2dos decides that the last line should also end with a CR/NL pair).

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 53 of 131, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

I don't see how you can have such problems editing a simple file. Here's the Makefile, it works 100% I've just tested it.

http://www.si-gamer.net/gulikoza

Reply 54 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

that makefile worked beautifully thank you for finally uploading a copy.

i know how you feel that i cant edit that file, trust me, I CANNOT OPEN IT AND TOUCH IT WITHOUT IT CHANGING AND/OR GOING FUNKY, i even tried textpad which also didnt like the file.

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 55 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

Franpa@PAUL ~/sdl-1.2.11
$ make native
make install prefix=/usr
make[1]: Entering directory `/home/Franpa/sdl-1.2.11'
cp -rv bin include lib share /usr/
`bin/i386-mingw32msvc-sdl-config' -> `/usr/bin/i386-mingw32msvc-sdl-config'
`bin/SDL.dll' -> `/usr/bin/SDL.dll'
`include/begin_code.h' -> `/usr/include/begin_code.h'
`include/close_code.h' -> `/usr/include/close_code.h'
`include/SDL.h' -> `/usr/include/SDL.h'
`include/SDL_active.h' -> `/usr/include/SDL_active.h'
`include/SDL_audio.h' -> `/usr/include/SDL_audio.h'
`include/SDL_byteorder.h' -> `/usr/include/SDL_byteorder.h'
`include/SDL_cdrom.h' -> `/usr/include/SDL_cdrom.h'
`include/SDL_config.h' -> `/usr/include/SDL_config.h'
`include/SDL_config_amiga.h' -> `/usr/include/SDL_config_amiga.h'
`include/SDL_config_dreamcast.h' -> `/usr/include/SDL_config_dreamcast.h'
`include/SDL_config_macos.h' -> `/usr/include/SDL_config_macos.h'
`include/SDL_config_macosx.h' -> `/usr/include/SDL_config_macosx.h'
`include/SDL_config_minimal.h' -> `/usr/include/SDL_config_minimal.h'
`include/SDL_config_os2.h' -> `/usr/include/SDL_config_os2.h'
`include/SDL_config_win32.h' -> `/usr/include/SDL_config_win32.h'
`include/SDL_copying.h' -> `/usr/include/SDL_copying.h'
`include/SDL_cpuinfo.h' -> `/usr/include/SDL_cpuinfo.h'
`include/SDL_endian.h' -> `/usr/include/SDL_endian.h'
`include/SDL_error.h' -> `/usr/include/SDL_error.h'
`include/SDL_events.h' -> `/usr/include/SDL_events.h'
`include/SDL_getenv.h' -> `/usr/include/SDL_getenv.h'
`include/SDL_joystick.h' -> `/usr/include/SDL_joystick.h'
`include/SDL_keyboard.h' -> `/usr/include/SDL_keyboard.h'
`include/SDL_keysym.h' -> `/usr/include/SDL_keysym.h'
`include/SDL_loadso.h' -> `/usr/include/SDL_loadso.h'
`include/SDL_main.h' -> `/usr/include/SDL_main.h'
`include/SDL_mouse.h' -> `/usr/include/SDL_mouse.h'
`include/SDL_mutex.h' -> `/usr/include/SDL_mutex.h'
`include/SDL_name.h' -> `/usr/include/SDL_name.h'
`include/SDL_opengl.h' -> `/usr/include/SDL_opengl.h'
`include/SDL_platform.h' -> `/usr/include/SDL_platform.h'
`include/SDL_quit.h' -> `/usr/include/SDL_quit.h'
`include/SDL_rwops.h' -> `/usr/include/SDL_rwops.h'
`include/SDL_stdinc.h' -> `/usr/include/SDL_stdinc.h'
`include/SDL_syswm.h' -> `/usr/include/SDL_syswm.h'
`include/SDL_thread.h' -> `/usr/include/SDL_thread.h'
`include/SDL_timer.h' -> `/usr/include/SDL_timer.h'
`include/SDL_types.h' -> `/usr/include/SDL_types.h'
`include/SDL_version.h' -> `/usr/include/SDL_version.h'
`include/SDL_video.h' -> `/usr/include/SDL_video.h'
`lib/libSDL.dll.a' -> `/usr/lib/libSDL.dll.a'
`lib/libSDL.la' -> `/usr/lib/libSDL.la'
`lib/libSDLmain.a' -> `/usr/lib/libSDLmain.a'
`share/aclocal/sdl.m4' -> `/usr/share/aclocal/sdl.m4'
make[1]: Leaving directory `/home/Franpa/sdl-1.2.11'

Franpa@PAUL ~/sdl-1.2.11
$ cd ..

Franpa@PAUL ~
$ cd dosbox-0.70

Franpa@PAUL ~/dosbox-0.70
$ autogen.sh
Generating build information using aclocal, autoheader, automake and autoconf
This may take a while ...
Now you are ready to run ./configure.
You can also run ./configure --help for extra features to enable/disable.

Franpa@PAUL ~/dosbox-0.70
$ ./configure
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for ranlib... ranlib
checking for sdl-config... /bin/sdl-config
checking for SDL - version >= 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /bin/sdl-config
configure: error: *** SDL version 1.2.0 not found!

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 56 of 131, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

cp /usr/bin/i386-mingw32msvc-sdl-config /bin/sdl-config

Water flows down the stream
How to ask questions the smart way!

Reply 57 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

?

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website

Reply 59 of 131, by franpa

User metadata
Rank Oldbie
Rank
Oldbie

heres the log, i can't make heads or tales of it.

2nd paragraph mentions something about "ac_nonexistent.h: No such file or directory
configure:3020: "

same is seen in the 4th paragraph.

AMD Ryzen 3700X | ASUS Crosshair Hero VIII (WiFi) | 16GB DDR4 3600MHz RAM | MSI Geforce 1070Ti 8GB | Windows 10 Pro x64.

my website