How can I compile exqamples?

Asked by Miłosz Kosobucki

Most of source files in /usr/share/doc/nvidia-cg-toolkit are compressed with gzip. This makes included Makefiles invalid, because they are expecting uncompressed sources. Do I have to decompress sources by hand? Official nvidia .deb package has these sources uncompressed. Is there some additional Makefile that I cannot spot? If package maintainer decided to compress sources why no Makefile for decompressing them is provided?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu nvidia-cg-toolkit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

Do I have to decompress sources by hand? Yes
Official nvidia .deb package has these sources uncompressed. Is there some additional Makefile that I cannot spot? Go to source's folder and try following commands:
  ./configure
  make
If package maintainer decided to compress sources why no Makefile for decompressing them is provided? Compression is for saving download time. You are supposed to uncompress by yourself.

Revision history for this message
Miłosz Kosobucki (mikom) said :
#2

.deb packages have data.tar.gz file inside them with contents of the package, so these source files are compressed anyway, so this argument doesn't make sense.

These examples are divided into many directories, so I would have to enter them one by one and extract files (bit tedious I'd say), or invoke something like find . -type f | xargs gzip -d (not too user friendly)

Revision history for this message
delance (olivier-delance) said :
#3

Look in which file you find file "configure".

Revision history for this message
Miłosz Kosobucki (mikom) said :
#4

mikom@boxer:~$ dpkg -L nvidia-cg-toolkit | grep configure
mikom@boxer:~$

I don't really know what are you referring to. As you can see above, this package doesn't have any configure file.

Can you help with this problem?

Provide an answer of your own, or ask Miłosz Kosobucki for more information if necessary.

To post a message you must log in.