Pages: 1
  Print  
Author Topic: Invalid search directories returned. Start search string does not match a line  (Read 2965 times)
Offline (Unknown gender) lfcesar
Posted on: August 08, 2013, 02:54:09 PM
Member
Joined: Aug 2013
Posts: 5

View Profile
I get this to run. (Ubuntu). some solution.?
follow all the steps. but I get that.


 :( :( :( :( :(
Logged
Offline (Male) Josh @ Dreamland
Reply #1 Posted on: August 08, 2013, 04:23:30 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
Hi there! There may be a problem with the locale interpreter on your installation. What is the default language on your system?

Worst case scenario, run gcc -E -x c++ -v /dev/null and replace the English lines in Compilers/Linux/gcc.ey with the correct translation lines.

Unless I'm mistaken, this problem is happening because gcc is ignoring the locale change imposed by ENIGMA to give the correctsearch directories list. The sad thng is, there's a way to get GCC to just print the directories without anything else, but I don't remember what it is, and it's impossible to find on Google.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Goombert
Reply #2 Posted on: August 08, 2013, 07:58:46 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
That is interesting I've yet to have seen that. Somebody be sure to add the fix to the Troubleshooting page...
http://enigma-dev.org/docs/Wiki/Troubleshoot
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) lfcesar
Reply #3 Posted on: August 12, 2013, 01:49:31 PM
Member
Joined: Aug 2013
Posts: 5

View Profile
gcc.ey

Code: [Select]
%e-yaml
---
Name: GNU GCC G++
Native: Yes
Maintainer: RetroX
Target-platform: Linux

# Some info about it
path:
make: make
cc: gcc
cxx: g++
defines: cpp -dM -x c++ -E $blank
searchdirs: gcc -E -x c++ -v $blank
searchdirs-start: "#include <...> search starts here:"
searchdirs-end: "End of search list."
resources: $exe
cppflags:
cxxflags:
cflags:
ldflags:
links:

Build-Extension:
Run-output: $tempfile
Run-Program: $game
Run-Params:


where I put that line??
gcc -E -x c++ -v /dev/null

Spanish language use
Logged
Offline (Male) Goombert
Reply #4 Posted on: August 12, 2013, 02:01:37 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
ifcesar, replace it after searchdirs: with the line he gave you
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) Josh @ Dreamland
Reply #5 Posted on: August 12, 2013, 08:04:56 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
No. I want him to run it in a terminal.

lfcesar: Just open a terminal (from your applications menu, or maybe with control-alt-T). Enter that line and run it with Enter. Then try replacing "#include <...> search starts here:" with the translation it prints.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) lfcesar
Reply #6 Posted on: August 12, 2013, 11:25:26 PM
Member
Joined: Aug 2013
Posts: 5

View Profile
thank you, so stay, and it works well!, active now as the other platforms?. html5, android, etc?

Code: [Select]
%e-yaml
---
Name: GNU GCC G++
Native: Yes
Maintainer: RetroX
Target-platform: Linux

# Some info about it
path:
make: make
cc: gcc
cxx: g++
defines: cpp -dM -x c++ -E $blank
searchdirs: gcc -E -x c++ -v $blank
 /usr/include/c++/4.7
 /usr/include/x86_64-linux-gnu/c++/4.7/.
 /usr/include/c++/4.7/backward
 /usr/lib/gcc/x86_64-linux-gnu/4.7/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include

resources: $exe
cppflags:
cxxflags:
cflags:
ldflags:
links:

Build-Extension:
Run-output: $tempfile
Run-Program: $game
Run-Params:
« Last Edit: August 12, 2013, 11:30:17 PM by lfcesar » Logged
Offline (Male) Josh @ Dreamland
Reply #7 Posted on: August 13, 2013, 08:45:37 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
For some reason, the default is working and the about.ey version is not. Someone remind me to figure out why.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) lfcesar
Reply #8 Posted on: August 15, 2013, 12:17:05 PM
Member
Joined: Aug 2013
Posts: 5

View Profile
in archlinux is equal?, I tried it and not come out XD!

or archlinux libraries are installed for it to run well enigme
Logged
Offline (Male) Josh @ Dreamland
Reply #9 Posted on: August 15, 2013, 02:44:38 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2949

View Profile Email
The behavior on Arch Linux should be the same, yes. Though the behavior you're getting was not anticipated.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: 1
  Print