LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-27-2005, 01:34 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
unzip


I don't know what is going on here, but I think I am not extracting an archive correctly or something, because when I finish unzipping a zip file with source code, I go into the directory, and try to do normal stuff as non-root , such as ./configure, but I get a permission denied, I try su, and I get the same error, so I went and chmoded ./configure to rwxrwxrwx , and then I get another error after trying to run ./configure, such as "bad interpretor: No such file or directory". The original permissions of ./configure are
Code:
 -rw-r--r--  1 slackuser users 171446 2004-05-22 09:02 ./configure
And the way I unzip the archive is just unzip file.zip.. ,and i get this..

Code:
ackuser@slacker:~/Desktop$ unzip gens-src-multiplatform-2005feb13.zip
Archive:  gens-src-multiplatform-2005feb13.zip
   creating: gens/
   creating: gens/Gens-MultiPlatform/
   creating: gens/Gens-MultiPlatform/beos/
  inflating: gens/Gens-MultiPlatform/beos/COMPILE.txt
  inflating: gens/Gens-MultiPlatform/beos/comp_m68k.bat
................there is too much to post, so this is just part of it, but it extracts successfully..
Any ideas?
 
Old 08-27-2005, 01:42 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Are you sure there's actually a "configure" script on it? Check the compile.txt under linux folder or something. There's also a chance that you've to edit the MakeFile in order to specify the platform you want to build the source since this is a multiplatform file. Not everything compiles with ./configure.

Also, I pretty much doubt you will be able to compile an emulator such as gens. I never could compile one single emulator successfully, except for zsnes (only once, mind you). I don't know if emus have too much dependencies of if the code they release is too buggy for an average user to build... I don't have an explanation for it, but I have a work around:

- Grab a .rpm of .deb pre-compiled binary and either force the install under slackware to do not check for dependencies or using a script such as Alien to convert the .rpm into .tgz (Slackware's native). I recommend converting to .tgz first.

You can find gens .rpms here:

http://rpm.pbone.net/

again, it's up to you, but you've been warned that it's hard to compile those things (emulators are my hobby kinda of thing, so I try pretty much everything out there on my free time ).

Good luck!

Last edited by Mega Man X; 08-27-2005 at 01:44 PM.
 
Old 08-27-2005, 01:48 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Thats odd, because I checked the README and INSTALL and under the readme file, it says just to do configure, so I tried that, and get permission denied, and the INSTALL says to do ./configure, and tried that, and get the same message, so there HAS to be a script... But I'm just going to go ahead and try your suggestion....My only problem with binary is that gens may not run well under my machine, since I have a 450Mhz k6-2 pc, but under windows Gens, and ZSnes run just fine, but under linux I had to tweak ./configure to even get a proper framerate under zsnes, and thats just without loading any roms...

edit: By the way, there are only Mandrake and Suse rpms available

Last edited by Jeebizz; 08-27-2005 at 01:50 PM.
 
Old 08-27-2005, 01:50 PM   #4
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
See if first line of configure is
#! /bin/sh

Check that the /bin/sh file exists and that it works :-)

Or try command:

Code:
bash configure
Make sure /home dir has the exec attribute set (i.e. it should NOT have noexec attribute set use mount command to see).

Hope this helps

Last edited by nixcraft; 08-27-2005 at 01:53 PM.
 
Old 08-27-2005, 01:54 PM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
yep, I pico-ed configure , and I got this...
Code:
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##
and this is the output to 'bash configure'
Code:
slackuser@slacker:~/Desktop/gens/GensForLinux$ bash configure
: command not found
configure: line 19: syntax error near unexpected token `elif'
configure: line 19: `elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1;'then
 
Old 08-28-2005, 04:07 AM   #6
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
It means your software file i.e. configure itself has syntax error, solution is fix yourself or report this bug to your software vendor or project

Last edited by nixcraft; 08-28-2005 at 04:08 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to unzip arimus25 Linux - Software 6 11-14-2011 04:46 AM
how do you unzip something slacker2007 Linux - Newbie 2 08-01-2004 11:19 AM
Unzip PhuckFonix Linux - Newbie 1 05-30-2004 08:10 PM
unzip thanko Linux - Software 13 05-02-2003 05:16 AM
Unzip? lintadsl Linux - General 6 12-01-2002 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration