LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2012, 09:26 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Posts: 553

Rep: Reputation: 33
Question Stuck compiling application


Hello

I'm trying to compile an application by calling the usual "make", but it fails at some point with something like this:
Code:
mystrip: '/tmp/usr/lib/myapp/{,**/}*.myext': No such file
I can't find what "{,**/}*.myext" does.

Does someone know?

Thank you.
 
Old 02-17-2012, 09:34 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
It is recursively including every file with the extension myext in directory /tmp/usr/lib/myapp. Are you trying to compile something you downloaded from the internet or something you're writing?
 
Old 02-17-2012, 04:23 PM   #3
littlebigman
Member
 
Registered: Aug 2008
Posts: 553

Original Poster
Rep: Reputation: 33
Thanks. It's an application from the Net.

What does "{,**/}" do?
 
Old 02-17-2012, 05:01 PM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Quote:
Originally Posted by littlebigman View Post
What does "{,**/}" do?
** is the extended file match globbing operator. It's a feature available in Bash version 4 and it matches all the directories and files recursively. You can see the difference between * and ** if you run the following in your home directory:
Code:
shopt -s globstar
echo **/
echo */
Notice that activating the globstar shell option is mandatory to make ** work.

, is the comma operator that in this case serves to concatenate strings, that is every matched directory (or subdirectory) is concatenated to the rest of the path.

{} is the brace expansion.
 
Old 02-17-2012, 05:43 PM   #5
littlebigman
Member
 
Registered: Aug 2008
Posts: 553

Original Poster
Rep: Reputation: 33
Thanks for the info.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Compiling Qt4.6 application blackcore Programming 3 06-06-2010 04:47 PM
Java application getting stuck up in SUSE Linux ruchirratan Linux - General 1 07-05-2007 02:06 AM
need help: got stuck at compiling several packages to install GNOme 2.18 parv Linux - Software 1 03-30-2007 12:03 AM
stuck compiling kernel: make modules_install arpi Linux - General 2 03-20-2004 10:52 PM
Application Compiling Daxziz Linux - General 3 02-20-2002 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration