Sponsored Content
Top Forums Shell Programming and Scripting Libjpeg "make install" does not work. Post 303032979 by colt on Wednesday 27th of March 2019 06:37:18 PM
Old 03-27-2019
Libjpeg "make install" does not work.

Hello. I recently downloaded, configured and executed make on libjpeg.

Until there all worked well. Then suddenly when executing what shall be the simplest part, it returned this error message:
Quote:
make install
/usr/bin/install -c cjpeg /media/34GB/Arquivos-de-Programas-Linux/Jpeg-6b//bin/cjpeg
/usr/bin/install: cannot create regular file `/media/34GB/Arquivos-de-Programas-Linux/Jpeg-6b//bin/cjpeg': No such file or directory
make: *** [install] Error 1
I have no idea as to why this problem is happening, since cjpeg was successfully built.

This is the installation rules of the makefile :

Code:
# Installation rules:

install: cjpeg djpeg jpegtran rdjpgcom wrjpgcom 
    $(INSTALL_PROGRAM) cjpeg $(bindir)/$(binprefix)cjpeg
    $(INSTALL_PROGRAM) djpeg $(bindir)/$(binprefix)djpeg
    $(INSTALL_PROGRAM) jpegtran $(bindir)/$(binprefix)jpegtran
    $(INSTALL_PROGRAM) rdjpgcom $(bindir)/$(binprefix)rdjpgcom
    $(INSTALL_PROGRAM) wrjpgcom $(bindir)/$(binprefix)wrjpgcom
    $(INSTALL_DATA) $(srcdir)/cjpeg.1 $(mandir)/$(manprefix)cjpeg.$(manext)
    $(INSTALL_DATA) $(srcdir)/djpeg.1 $(mandir)/$(manprefix)djpeg.$(manext)
    $(INSTALL_DATA) $(srcdir)/jpegtran.1 $(mandir)/$(manprefix)jpegtran.$(manext)
    $(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
    $(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)

install-lib: libjpeg.$(A) install-headers
    $(INSTALL_LIB) libjpeg.$(A) $(libdir)/$(binprefix)libjpeg.$(A)

install-headers: jconfig.h
    $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
    $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
    $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
    $(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h

Anyone can see something wrong (and how to fix it)?. If there is nothing wrong there, guess I will try to manually do what the Makefile should have done and see if the program that need it will work.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

"./cofigure" and "make" turmoil

I am a Unix newbie and I downloaded some X11 programs. I have gcc, but I cannot compile the files. I NEED HELP!!!! :confused: (16 Replies)
Discussion started by: gnerd
16 Replies

2. Programming

how could i make a program mixed with many "|", "<" and ">"

I have written following code to do: ls -l | wc -w, it works: but when there are not only a single "|", if there are more such as: ls -l | sort -r | sort | sort -r, This program does not work, i want to know how could i deal with it when there are more "|", another situation is that, if it mixes... (2 Replies)
Discussion started by: strugglingman
2 Replies

3. UNIX for Dummies Questions & Answers

how to install "source" command!/ broken "login.cl"!

Hello, I am new to this forums and this is my first "asking help" message! i have 2 problems: 1- for unknown reasons the "source" command is not avalable in my system (UBUNTU). i can't either see it in my bin directory! 2- again for unknown reasons the "login.cl" file in the home... (0 Replies)
Discussion started by: astrosona
0 Replies

4. OS X (Apple)

Neither "which" nor "find" commands work

hi there, could use some basic PATH advice, i think, or something find sometimes work, but which hasn't ever seemed to. for years! what am i doing wrong that the commands which and find rarely work? they used to work on the workstations i used ages ago... running 10.5.8 because i... (4 Replies)
Discussion started by: zensnob
4 Replies

5. Web Development

How to make "enter" work in HTML syntax

I have one syntax to find something from desktop on server, the script is as below, I actually speaking don't know anything in this script. It creates a window, where i get a drop down boxes with folder names given below and a blank box where i have to put the folder name to search. and then I... (2 Replies)
Discussion started by: patilrakesh1984
2 Replies

6. Shell Programming and Scripting

Make scipt except from "Y","y" and "yes" to take [Enter] as being "yes"

This is the script: #!/bin/sh if ; then rm -rf /usr/share/WallpaperChanger; fi if ; then rm -rf /usr/bin/wallch; fi; if ; then rm -rf /usr/share/applications/wallch.desktop; fi if ; then rm -rf /usr/share/doc/wallch; fi if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi echo "Delete... (4 Replies)
Discussion started by: hakermania
4 Replies

7. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
rdjpgcom(1)							   User Commands						       rdjpgcom(1)

NAME
rdjpgcom - display text comments from a JPEG file SYNOPSIS
rdjpgcom [-verbose] [filename] DESCRIPTION
rdjpgcom reads the named JPEG or JFIF file, or the standard input if no file is named, and displays any text comments found in the file on the standard output. The JPEG standard allows "comment" (COM) blocks to occur within a JPEG file. Although the standard does not actually define the intended function of COM blocks, they are widely used to hold user-supplied text strings. This enables you to add annotations, titles, index terms, and so on to your JPEG files, and later retrieve the COM blocks as text. COM blocks do not interfere with the image stored in the JPEG file. The maximum size of a COM block is 64K, but you can have many COM blocks in one JPEG file. OPTIONS
The following options are supported: -verbose Causes rdjpgcom to also display the JPEG image dimensions. OPERANDS
The following operands are supported: filename The name of the JPEG file that contains text comments. EXTENDED DESCRIPTION
rdjpgcom does not depend on the IJG JPEG library. The rdjpgcom source code is intended to illustrate the minimum amount of code required to parse a JPEG file header correctly. In -verbose mode, rdjpgcom also attempts to display the contents of any "APP12" markers as text. Some digital cameras produce APP12 markers that contain useful textual information. You can also modify the source code to display other APPn marker types. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWjpg | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
cjpeg(1), djpeg(1), jpegtran(1), wrjpgcom(1) NOTES
This man page was originally written by the Independent JPEG Group. Updated by Breda McColgan, Sun Microsystems Inc., 2004. SunOS 5.10 26 Mar 2004 rdjpgcom(1)
All times are GMT -4. The time now is 09:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy