LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-09-2018, 11:54 PM   #1
VimTau
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Rep: Reputation: Disabled
I can't compile cli-visualizer on Slackware


I downloaded the source code of cli-visualizer in Git-Hub, it is not found in Slackbuilds, I have all its dependencies installed, but when compiling the following message appears.

/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: no se puede encontrar -ltinfo
collect2: error: ld devolvió el estado de salida 1
Makefile:249: fallo en las instrucciones para el objetivo 'vis'
make: *** [vis] Error 1
Found libpulse-simple, enabling pulseaudio support
cp /root/cli-visualizer-master/build/vis /bin/
cp: no se puede efectuar `stat' sobre '/root/cli-visualizer-master/build/vis': No existe el fichero o el directorio
Makefile:238: fallo en las instrucciones para el objetivo 'install'
make: *** [install] Error 1

I can see that the problem is not finding ltinfo from ncurses library.
I followed the advice of this post to make a symbolic link to solve it.

https://www.linuxquestions.org/quest...2b-4175568815/

The symbolic link was made but I still get the same problem when compiling cli-visualizer, What more can I do?

Thank you

Last edited by VimTau; 06-10-2018 at 02:46 AM.
 
Old 06-10-2018, 01:32 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,569
Blog Entries: 9

Rep: Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069
can you please
a) give a link to the repo you cloned
b) repeat the command by prepending LC_ALL=C (so the output's in english)
c) use code tags
d) show us the command used
 
1 members found this post helpful.
Old 06-10-2018, 02:04 AM   #3
dchmelik
Member
 
Registered: Nov 2008
Location: USA
Distribution: FreeBSD Unix, Slackware, FreeSlack GNU/Linux, OpenBSD Unix, FreeDOS
Posts: 463

Rep: Reputation: 51
Quote:
Originally Posted by VimTau View Post
I cant compile cli-visualizer on Slackware
That's a confusing subject line. ‘Cant’ has been a word for a long time with several meanings (five nouns, an adverb, six verbs) such as the first-listed noun one being an edge, border, or brink, and 38 other definitions, which one perhaps most heard nowadays (such as in roleplaying games) that a cant indicates one of various types of dialect. If you happened to mean ‘can't,’ that's quite different and is why proper grammar, including apostrophes, is necessary. If you were discussing C programming on Slackware and tried to abbreviate ‘int main (void)’ ‘int mainvoid,’ you'd be sorry for leaving punctuation out there as well.

I wouldn't really call compiling something on Slackware a ‘newbie’ question... if you can't get to an answer here, maybe ask if it can be moved to the Slackware forum.
 
Old 06-10-2018, 02:34 AM   #4
VimTau
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you for answering ondoho:

a) The link to the repo I cloned: https://github.com/dpayne/cli-visualizer

b) cli-visualizer-master/build/MpdAudioSource.o /root/Descargas/cli-visualizer-master/build/PulseAudioSource.o /root/Descargas/cli-visualizer-master/build/AudioSource.o -lfftw3 -lm -lstdc++ -ltinfo -lpulse -lpulse-simple -lncursesw
/usr/x86_64-slackware-linux/bin/ld: cannot find -ltinfo
collect2: error: ld returned 1 exit status
Makefile:249: recipe for target 'vis' failed
make: *** [vis] Error 1
Found libpulse-simple, enabling pulseaudio support
cp /root/Descargas/cli-visualizer-master/build/vis /bin/
cp: cannot stat '/root/Descargas/cli-visualizer-master/build/vis': No such file or directory
Makefile:238: recipe for target 'install' failed
make: *** [install] Error 1

c) What should I understand by code tags, I'm a general practitioner, Linux enthusiast, I do not know much about technical jargon.
I had never posted here. I'm still familiar with the structure of the forum. I see attacks just by simple apostrophes '. Typical in linux world

d) Command ./install.sh being inside to the folder: cli-visualizer-master

Thank you again

---------------------------

dchmelik: <non-English content removed>
I know about the importance of apostrophes or double quotes in programming, this conversation is not code

Last edited by rtmistler; 06-11-2018 at 07:06 AM.
 
1 members found this post helpful.
Old 06-10-2018, 05:18 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,569
Blog Entries: 9

Rep: Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069
Quote:
Originally Posted by VimTau View Post
cli-visualizer-master/build/MpdAudioSource.o /root/Descargas/cli-visualizer-master/build/PulseAudioSource.o /root/Descargas/cli-visualizer-master/build/AudioSource.o -lfftw3 -lm -lstdc++ -ltinfo -lpulse -lpulse-simple -lncursesw
/usr/x86_64-slackware-linux/bin/ld: cannot find -ltinfo
https://www.startpage.com/do/dsearch...t+find+-ltinfo
you need tinfo library, and ld needs to be able to find it.
have you consider the installation prerequisites?
 
1 members found this post helpful.
Old 06-10-2018, 06:16 AM   #6
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
You did not even post your build environment

Which compiler and other essential libaries.

and some stuff on git does not compile with a lot of bug fixing.

--

the proper way for a user with no knowledge is to find someone from yuor distro and ask for a package.

--

Sometimes I wonder if some guys are unable to read.

Quote:
cp: cannot stat '/root/Descargas/cli-visualizer-master/build/vis': No such file or directory
No such file or directory

Quote:
c) What should I understand by code tags, I'm a general practitioner, Linux enthusiast, I do not know much about technical jargon.
Code:
 ...
replace quote wiht CODE and you get fields like shown above. QUite common on those forums

Last edited by _roman_; 06-10-2018 at 06:22 AM.
 
Old 06-10-2018, 07:40 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,809
Blog Entries: 58

Rep: Reputation: Disabled
Found this regarding libtinfo:
https://www.linuxquestions.org/quest...2b-4175568815/
 
1 members found this post helpful.
Old 06-10-2018, 07:12 PM   #8
VimTau
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Odoho.
I mentioned it from the beginning
I know perfectly that the libtinfo dependency is missing, which is included in ncurses (although they do not name it as a dependency in installation readme but that marks the output of the terminal), the problem from what I read before is that it seems that slackware does not include libtinfo within ncurses for some reason and they give as a solution to make a symbolic link from libinfo to ncurses...

https://www.linuxquestions.org/quest...2b-4175568815/
 
Old 06-10-2018, 07:14 PM   #9
VimTau
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Roman

you are very right, there are many people who see their weaknesses projected on others, do not read and cynically make others see that they do not read

https://www.linuxquestions.org/quest...2b-4175568815/
 
Old 06-10-2018, 07:19 PM   #10
VimTau
LQ Newbie
 
Registered: Jun 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
brianL.

If you want to take you with jokes, I make them very heavy and then many of them come out crying, be careful who you kid. Respect is good, it does not get you in trouble
If I made the jokes that I have in mind for you, they would take me out of this forum

<non-English content removed>

Last edited by rtmistler; 06-11-2018 at 07:11 AM.
 
Old 06-10-2018, 10:40 PM   #11
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
I took the liberty to translate your prose
Quote:
<removed>
I personally would prefer if you posted in English only.

Last edited by rtmistler; 06-11-2018 at 07:16 AM. Reason: Removed non-English content and translation
 
1 members found this post helpful.
Old 06-10-2018, 11:25 PM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,569
Blog Entries: 9

Rep: Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069
what's wrong with that person?

anyway...

Quote:
Originally Posted by _roman_ View Post
Sometimes I wonder if some guys are unable to read.
Quote:
Originally Posted by VimTau View Post
cp: cannot stat '/root/Descargas/cli-visualizer-master/build/vis': No such file or directory
No such file or directory
yes, but that's the second error.
have to fix the first error first.
 
Old 06-11-2018, 05:38 AM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,809
Blog Entries: 58

Rep: Reputation: Disabled
Hi VimTau, your insults are wasted on me. I'm thick-skinned, and insults roll off me like the proverbial water off a duck's back. And my parents have been dead for over 20 years, so they won't be bothered either.
<Non-English content removed.>

Thanks for the translation, AwsomeMachine.

Last edited by rtmistler; 06-11-2018 at 07:22 AM. Reason: Do not post non-English content in threads
 
Old 06-11-2018, 06:07 AM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
Given what has transpired on this thread, here are my views:

@dchmelik: That was disrespectful of you to criticise VimTau on their use of the English language. It was a very minor mistake indeed and there are regularly more fundamental grammar and spelling errors on here. It's not a big problem, we understand that LQ is a large international community and the key thing is that we are able to understand the posts that people make, which we definitely can in this case. I don't know what you were thinking, especially as VimTau is a newbie on here. Your thoughtless post resulted in the deterioration of the rest of the thread.

@VimTau: We have an eclectic bunch here on LQ. You shouldn't have reacted to the comments of one poster, especially by using pejorative language. That doesn't help anyone. And what was that reaction to brianL? No need at all for that. If you wanted to ignore what he posted then you should have done exactly that. You can't go about insulting other LQ members, especially for trivial reasons.

_roman_ is reportedly no longer around, but didn't help with their "Sometimes I wonder if some guys are unable to read." comment. There's no need for us to be sarcastic towards our fellow members. It achieves nothing.

Guys, you all contributed to this thread becoming a bit of a car crash. This isn't good for LQ. People should show more respect and understanding. We are here to solve problems and answer questions, not to have a go at our fellow posters.
 
1 members found this post helpful.
Old 06-11-2018, 07:31 AM   #15
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,705
Blog Entries: 13

Rep: Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922
This thread is closed.

The question is valid and there is some great advice. However members' reactions and responses in this thread have been very disappointing.

@VimTau,

Just to advise, we have a Report button which you can, and should, use to report offending posts.

Meanwhile, one of your edited replies was extremely bad. Do not repeat that behavior if you choose to continue with the LQ site.

Suggest that you, as well as some of our other members all refresh their selves with:
LQ Site Rules
lQ Site FAQ

Thank you to the members who have provided valid and helpful advice, as well as those who did report the problems with this thread.
 
  


Closed Thread


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
[SOLVED] visualizer in ns3 !! shanky Linux - Networking 7 02-01-2017 06:11 AM
ns2 code visualizer moreroz Linux - Software 3 04-05-2014 08:09 AM
visualizer problem in ns3 shanky Linux - Newbie 0 10-05-2011 04:27 AM
ns 3 visualizer shanky Linux - Newbie 3 09-23-2011 07:47 AM
RSS Visualizer digity Linux - Software 0 05-01-2006 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration