LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 06-07-2012, 04:09 PM   #16
_sa_
LQ Newbie
 
Registered: May 2012
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22

Rep: Reputation: Disabled

Quote:
Originally Posted by piyush128k View Post
# PATH=$PATH:/usr/sfw/bin
# export PATH
# which gcc
/usr/sfw/bin/gcc
# gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This gcc is the default one which was installed when sun 10 was installed but this is not gcc 3.4.6. thats cool. now since this i think proves that the gcc compiler is installed hence i dont need to install the libraries like png, jpeg, tiff, zlib anymore?
Is mmy next step to now execute the cups command package but for that dont i need to use #./configure . This damn thing does not work. Let me check again..
#.configure gives output
./configure: not found
Sorry, I did not read the entire thread because your spacing is terrible and everything is mashed together. Two things though; First, have you Googled your issue at all? The second or third result for "How to install CUPS on solaris 10," is :

http://www.lengers.com/index.php?opt...aris&Itemid=61

there is apparently a Sun package that comes on the Companion CD for the Solaris 10 OS, which means that you don't need to do all of this silly compiling from source. Second, have you ever compiled something from source on a unix type system? Because the first thing you should be doing after you untar the source is CD'ing into the unpacked directory. There is a INSTALL.txt inside there that give you specific instructions for how to build the application. I am all for helping you out, but it seems that you haven't even read the slightest documentation. If you are trying to help out your unix admins with an issue, you should at least prep yourself by taking some time to get acquainted with the in's and out's of unix. Not knowing to set your path, and to CD into the source directory to read the application specific compile instructions just means that you are asking for the entire process to be difficult. I am in no way trying to be an ass, just merely saying that you should read a little bit more before you attempt to compile applications from source. Even experienced unix SA's have difficulty compiling things, a beginner is bound to run into many additional issue's.
 
Old 06-07-2012, 04:22 PM   #17
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
But ofcourse..............i am not acquainted with Sun, Linux or Unix. I am student consultant for Windows at the university and this is my summer job in the IT. I took this up for myself not for anyone else. Their priority right now is something else so i have taken this up sun CUPS issue. Your comments are well justified and NO! you are not making an ass of yourself :-) I just dont know and yes am asking too much hence, i am simply asking if someone has the instructions or who is free to guide. Obviously i google each problem i face but people on the net themselves are confused as i have mentioned earlier in my thread. Thats why its more tuff. The guys here have given me a resource to solve the issue and that is the internet. No manuals or sorts.
I help people with Windows..which is many times spoon feeding. Time is what matters. If i dont have the time or i feel i cannot guide thru, i atleast give some direction or info sites....Thanks to you for what all you have done. Am cool and I dont feel bad on what you wrote.

Time for me to leave as it is going to be 4:30pm. Will see what the world comments on my thread to help me out. Google is what i have.

Bye.........till tomorrow
 
Old 06-07-2012, 04:32 PM   #18
_sa_
LQ Newbie
 
Registered: May 2012
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22

Rep: Reputation: Disabled
Quote:
Originally Posted by piyush128k View Post
But ofcourse..............i am not acquainted with Sun, Linux or Unix. I am student consultant for Windows at the university and this is my summer job in the IT. I took this up for myself not for anyone else. Their priority right now is something else so i have taken this up sun CUPS issue. Your comments are well justified and NO! you are not making an ass of yourself :-) I just dont know and yes am asking too much hence, i am simply asking if someone has the instructions or who is free to guide. Obviously i google each problem i face but people on the net themselves are confused as i have mentioned earlier in my thread. Thats why its more tuff. The guys here have given me a resource to solve the issue and that is the internet. No manuals or sorts.
I help people with Windows..which is many times spoon feeding. Time is what matters. If i dont have the time or i feel i cannot guide thru, i atleast give some direction or info sites....Thanks to you for what all you have done. Am cool and I dont feel bad on what you wrote.

Time for me to leave as it is going to be 4:30pm. Will see what the world comments on my thread to help me out. Google is what i have.

Bye.........till tomorrow
Try that link that I posted. CUPS is provided by SUN/Oracle on the companion CD in package form and will, from what i can tell, require no compilation on your part.
 
Old 06-11-2012, 01:14 PM   #19
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Well! SFWcups, SFWgcmn, SFWoscp, SFWespgs, SFWgcc34l packages are missing, every other package exists but these. I downloaded "sol-10-u10-companion-ga.iso" because that's the one i need as per the version, i have installed and checked in the release file. Quite strange is it not. Great link and with all the steps but the packages you actually need are not existing in the "iso" companion link. SA user this is the link you gave :- http://www.lengers.com/index.php?opt...aris&Itemid=61
I may not know but i can follow.....if the things are rightly mentioned. More than 20 sites, i have been to, something or the other is not right. Anyways, I will continue.....
 
Old 06-11-2012, 04:04 PM   #20
_sa_
LQ Newbie
 
Registered: May 2012
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22

Rep: Reputation: Disabled
I am not sure what companion CD these are from, but here is a link to the SPARC SFW packages:

https://juilliard.broward.edu/solari...parc/Packages/

you will have to figure out how to pull them down from the site, as there don't appear to be datastream versions of the packages.
 
Old 06-12-2012, 09:20 AM   #21
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I made sure the path to GCC works which the default one which is installed in advance as per the command already mentoned in the threads.
Later i pathed into the tared directory of cups 1.6b1 in the root and executed ./cofigure. All seems well except for the last line:-
configure: error: unable to find the required library archive command. I believe it is talking about some libraries which i dont have. Based on the link <<http://www.cups.org/doc-1.1/sam.html#BUILDING_INSTALLING>> i need two kinds of libraries, CUPS imaging libraries and CUPS libraries. I have the first one. the second one is CDSA, TLS and OpenSSL Looking into it. The link says to go to ftp://ftp.easysw.com/pub/ but i have check there as well. Nothing. Mehn! why did i take this up?
SA user, the link you gave does have Sparc and i386. I have used the i386. Neither of the SFW packages mentioned on the link are available either in i386 or Sparc.

Right now i am concerned with :- "configure: error: unable to find the required library archive command" to which not able to find something logical. Mostly people on the internet are copy and past. For installations steps for anything in Unix, they have not mentioned what they did and how. Really Sad!. Once I am done with this. I will do so.

Helpers please keep in mind, I have mentioned in my earlier threads that i am on VM so using x86 and not SPARC

Last edited by piyush128k; 06-12-2012 at 11:59 AM.
 
Old 06-15-2012, 09:37 AM   #22
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
One part of my problem was solved this Wednesday. The GCC installation. Before every command you will see "#". That is just the prompt in this OS.
Download it from :- http://ftp.gnu.org/gnu/gcc/
I had downloaded gcc-3.4.6.tar.gz ( you can also download gcc-3.4.6.tar.bz2 as well. It simply uses the more recent version of compression and it is better but makes no difference)
The default version installed in Solaris 10 is gcc 3.4.3 so i do not believe we need to install it again. The problem was i just had not set the path in "PATH" and got all confused and mixed up.
After i downloaded the file i placed it in the following directory :- /opt/csw/gcc3/bin
Run either of the two commands depending on which file you use.
#gunzip gcc-3.4.6.tar.gz
or
#bunzip2 gcc-3.4.6.tar.bz2 (you may also use #bunzip2 -d gcc-3.4.6.tar.bz2 where "d" is for decompress)
This decompresses the file. there are more switches to both gunzip and bunzip2 and you can find it on the internet if required
Then i use the tar command to extract it which creates a sub directory.
#tar -xvf gcc-3.4.6.tar (please do not type the gz or bz2 at the end like before)
tar is for- Tape Archiver
x - extract
v - verbose output (lists all files as they are extracted)
j - deal with bzipped file
f - read from a file, rather than a tape device
"tar --help" will give you more options and info

After this is done you need to set the PATH
#PATH=$PATH:/opt/csw/gcc3/bin (this command simply specifies which directory to be added)
#export PATH (this simply add the path with the other paths defined before)
#echo $PATH (this simply reflects all the successfully paths added)

Now you check the version of GCC
#which gcc (this will give you the path and the file to where it detects the gcc installation location e.g. #/opt/csw/gcc3/bin/gcc)
#gcc --version ( this will give you the latest version of gcc that you have installed)

Hope that was straight forward and simple to install GCC.
Enjoy and now i am still working on "configure: error: unable to find the required library archive command"
 
Old 06-19-2012, 09:28 AM   #23
_sa_
LQ Newbie
 
Registered: May 2012
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22

Rep: Reputation: Disabled
Quote:
Originally Posted by piyush128k View Post
I made sure the path to GCC works which the default one which is installed in advance as per the command already mentoned in the threads.
Later i pathed into the tared directory of cups 1.6b1 in the root and executed ./cofigure. All seems well except for the last line:-
configure: error: unable to find the required library archive command. I believe it is talking about some libraries which i dont have. Based on the link <<http://www.cups.org/doc-1.1/sam.html#BUILDING_INSTALLING>> i need two kinds of libraries, CUPS imaging libraries and CUPS libraries. I have the first one. the second one is CDSA, TLS and OpenSSL Looking into it. The link says to go to ftp://ftp.easysw.com/pub/ but i have check there as well. Nothing. Mehn! why did i take this up?
SA user, the link you gave does have Sparc and i386. I have used the i386. Neither of the SFW packages mentioned on the link are available either in i386 or Sparc.

Right now i am concerned with :- "configure: error: unable to find the required library archive command" to which not able to find something logical. Mostly people on the internet are copy and past. For installations steps for anything in Unix, they have not mentioned what they did and how. Really Sad!. Once I am done with this. I will do so.

Helpers please keep in mind, I have mentioned in my earlier threads that i am on VM so using x86 and not SPARC
What you really need to do here, is work on the formatting of your posts. It is immensely difficult to parse through what you are writing without the proper spacing in your lines. That is first and foremost. Secondly, you should really be copying and pasting the exact output that you are receiving, along with the error. Use something like pastebin to show your complete output. Here is an example:

http://pastebin.com/4891785G

that is the output from my run of ./configure on the cups-1.6b source. Please paste yours so that we can get a better idea of what you are seeing.
 
Old 06-21-2012, 09:44 AM   #24
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Okay, I will be pasting the outs accordingly. However, whenever i type any paragraph, it is directly into the message box provided and it is readable to all my office guys here however, i will start to use word for better reading.

'bash-3.2# ./configure
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... no
checking for ar... no
checking for chmod... /usr/bin/chmod
checking for gzip... /usr/bin/gzip
checking for htmldoc... no
checking for ld... /usr/ucb/ld
checking for ln... /usr/bin/ln
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for sed... /usr/bin/sed
checking for xdg-open... no
checking for install-sh script... using /cups-1.5.3/install-sh
configure: error: Unable to find required library archive command.
bash-3.2#
 
Old 06-21-2012, 12:05 PM   #25
_sa_
LQ Newbie
 
Registered: May 2012
Distribution: OpenIndiana, OSX, Solaris 10, Solaris 11, OEL, Centos, Slackware, Ubuntu
Posts: 22

Rep: Reputation: Disabled
Quote:
Originally Posted by piyush128k View Post
Okay, I will be pasting the outs accordingly. However, whenever i type any paragraph, it is directly into the message box provided and it is readable to all my office guys here however, i will start to use word for better reading.

'bash-3.2# ./configure
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... no
checking for ar... no
checking for chmod... /usr/bin/chmod
checking for gzip... /usr/bin/gzip
checking for htmldoc... no
checking for ld... /usr/ucb/ld
checking for ln... /usr/bin/ln
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for sed... /usr/bin/sed
checking for xdg-open... no
checking for install-sh script... using /cups-1.5.3/install-sh
configure: error: Unable to find required library archive command.
bash-3.2#
I really hate to point this out, but it doesn't seem like you even Googled for this error. The very first result in Google pertaining to the search is specific to CUPS compilation on Solaris 10.

http://marc.info/?l=cups-bugs&m=121601040511545

Here is the link to the Google search:

https://www.google.com/search?q=conf...ient=firefox-a

There are several threads dealing with this same question. You should read and try those suggestions first. If my link doesn't work, then I would suggest trying to Google "configure: error: Unable to find required library archive command."
 
Old 06-21-2012, 12:42 PM   #26
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
T h a n k y o u ! I d i d g o o g l e a n d h a v e b e e n on i t. E v e n t h e r e a m f a c i n g s o m e i s s u e s . W o r k i n g o n t h a t a s w e l l . I h a v e t h e s a m e l i n k s y o u h a v e s h a r e d . T r y i n g e a c h a c c o r d i n g l y .
 
Old 06-22-2012, 09:10 AM   #27
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
bash-3.2# cd cups-1.5.3
bash-3.2# ./configure
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for ar... /usr/ccs/bin/ar
checking for chmod... /usr/bin/chmod
checking for gzip... /usr/bin/gzip
checking for htmldoc... no
checking for ld... /usr/ucb/ld
checking for ln... /usr/bin/ln
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for sed... /usr/bin/sed
checking for xdg-open... no
checking for install-sh script... using /cups-1.5.3/install-sh
checking for pkg-config... /usr/bin/pkg-config
checking for library containing fmod... -lm
checking for library containing crypt... none required
checking for library containing getspent... none required
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking usersec.h usability... no
checking usersec.h presence... no
checking for usersec.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking scsi/sg.h usability... no
checking scsi/sg.h presence... no
checking for scsi/sg.h... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for library containing iconv_open... none required
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for statfs... yes
checking for statvfs... yes
checking for strdup... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for random... yes
checking for lrand48... yes
checking for arc4random... no
checking for geteuid... yes
checking for setpgid... yes
checking for vsyslog... yes
checking for sigset... yes
checking for sigaction... yes
checking for waitpid... yes
checking for wait3... yes
checking for tm_gmtoff member in tm structure... no
checking for st_gen member in stat structure... no
checking for removefile... no
checking for libusb-1.0... no
checking for library containing acl_init... no
checking for DBUS... no
checking if GCC supports -fstack-protector... no
checking if GCC supports -fPIE... yes
checking if GCC supports -Wno-tautological-compare... no
checking whether to build image filters... yes
checking for library containing pow... none required
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng... yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking for TIFFReadScanline in -ltiff... yes
checking for stdlib.h... (cached) yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking for library containing socket... -lsocket
checking for library containing gethostbyaddr... -lnsl
checking for library containing getifaddrs... no
checking for library containing hstrerror... -lresolv
checking for library containing rresvport_af... none required
checking for library containing __res_init... no
checking for library containing res_9_init... no
checking for library containing res_init... none required
checking for library containing getaddrinfo... none required
checking for library containing getnameinfo... none required
checking for struct sockaddr.sa_len... no
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for AppleTalk/at_proto.h... no
checking for poll... yes
checking for epoll_create... no
checking for kqueue... no
checking slp.h usability... yes
checking slp.h presence... yes
checking for slp.h... yes
checking for SLPOpen in -lslp... yes
checking for krb5-config... /usr/bin/krb5-config
checking for gss_display_status in -lgss... yes
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking gssapi.h usability... no
checking gssapi.h presence... no
checking for gssapi.h... no
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking gssapi/gssapi_generic.h usability... no
checking gssapi/gssapi_generic.h presence... no
checking for gssapi/gssapi_generic.h... no
checking gssapi/gssapi_krb5.h usability... no
checking gssapi/gssapi_krb5.h presence... no
checking for gssapi/gssapi_krb5.h... no
checking for __ApplePrivate_gss_acquire_cred_ex_f... no
checking for GSS_C_NT_HOSTBASED_SERVICE... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking for ldap_initialize in -lldap... no
checking for ldap_init in -lldap... yes
checking for ldap_ssl.h... no
checking for ldapssl_init in -lldap... yes
checking for ldap_set_rebind_proc in -lldap... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking for libgnutls-config... no
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... yes
checking for pam_set_item in -lpam... yes
checking for pam_setcred in -lpam... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for long long int... yes
checking for strtoll... yes
checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no
checking for launch_msg... no
checking launch.h usability... no
checking launch.h presence... no
checking for launch.h... no
checking whether to use network default printers... yes
checking for default print user... lp
checking for default print group... lp
checking for default system groups... "sys root"
checking for pdftops... no
checking for gs... no
checking for java... /usr/bin/java
checking for perl... /usr/bin/perl
checking for php-cgi... no
checking for php... no
checking for python... /usr/bin/python
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating conf/cupsd.conf
config.status: creating conf/mime.convs
config.status: creating conf/pam.std
config.status: creating conf/snmp.conf
config.status: creating cups-config
config.status: creating data/testprint
config.status: creating desktop/cups.desktop
config.status: creating doc/help/ref-cupsd-conf.html
config.status: creating doc/help/standard.html
config.status: creating doc/index.html
config.status: creating man/client.conf.man
config.status: creating man/cups-deviced.man
config.status: creating man/cups-driverd.man
config.status: creating man/cups-lpd.man
config.status: creating man/cupsaddsmb.man
config.status: creating man/cupsd.conf.man
config.status: creating man/cupsd.man
config.status: creating man/lpoptions.man
config.status: creating scheduler/cups-lpd.xinetd
config.status: creating scheduler/cups.sh
config.status: creating scheduler/cups.xml
config.status: creating scheduler/org.cups.cups-lpd.plist
config.status: creating templates/header.tmpl
config.status: creating packaging/cups.list
config.status: creating doc/de/index.html
config.status: creating templates/de/header.tmpl
config.status: creating doc/es/index.html
config.status: creating templates/es/header.tmpl
config.status: creating doc/eu/index.html
config.status: creating templates/eu/header.tmpl
config.status: creating doc/fr/index.html
config.status: creating templates/fr/header.tmpl
config.status: creating doc/hu/index.html
config.status: creating templates/hu/header.tmpl
config.status: creating doc/id/index.html
config.status: creating templates/id/header.tmpl
config.status: creating doc/it/index.html
config.status: creating doc/ja/index.html
config.status: creating templates/ja/header.tmpl
config.status: creating doc/pl/index.html
config.status: creating templates/pl/header.tmpl
config.status: creating doc/ru/index.html
config.status: creating templates/ru/header.tmpl
config.status: creating config.h
bash-3.2#

bash-3.2# make
.
.
. (this is the long execution which happens in between)
.
.
.
In file included from ppdc-array.cxx:29:
ppdc-private.h:15:1: unterminated #ifndef
*** Error code 1
The following command caused the error:
g++ -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5 -I/ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -c -o ppdc-array.o ppdc-array.cxx
make: Fatal error: Command failed for target `ppdc-array.o'
Current working directory /cups-1.5.3/ppdc
*** Error code 1
The following command caused the error:
for dir in cups test filter backend berkeley cgi-bin driver monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates fonts; do\
echo Making all in $dir... ;\
(cd $dir ; make all ) || exit 1;\
done
make: Fatal error: Command failed for target `all'
bash-3.2#

I dont know which is the head or tail for this error. I believe there is no straightway of installing CUPS. I am simply putting days and days troubleshooting one error after the other. Most of the Linux, Solaris books dont give you the steps and what all directories need to be set, they just start off like "after you have installed the CUPS" we now come to printer configuration. I know i too am missing on some steps but...
Now i will be searching on this new error.

Last edited by piyush128k; 06-22-2012 at 11:03 AM.
 
Old 06-22-2012, 01:50 PM   #28
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
make install error :- Different one

bash-3.2# make
Using ARCHFLAGS=
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
Using CC=gcc
Using CXX=gcc
Using DSOFLAGS=-L../cups -R/opt/sfw/cups/lib -L/ -Wl,-hall -G -Wall -Wno-format-y2k -Wunused -fPIC -Os -g
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -L/ -R/opt/sfw/cups/lib -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g
Using LIBS=-lcups -lz -lpthread -lresolv -lnsl -lsocket -lm
Making all in cups...
Compiling adminutil.c...
Compiling array.c...
Compiling attr.c...
Compiling auth.c...
Compiling backend.c...
Compiling conflicts.c...
conflicts.c: In function `cupsResolveConflicts':
conflicts.c:196: warning: 'active' might be used uninitialized in this function
Compiling custom.c...
Compiling debug.c...
Compiling dest.c...
Compiling dir.c...
Compiling emit.c...
Compiling encode.c...
Compiling file.c...
Compiling getdevices.c...
Compiling getifaddrs.c...
Compiling getputfile.c...
Compiling globals.c...
globals.c:43: warning: missing braces around initializer
globals.c:43: warning: (near initialization for `cups_globals_key_once.__pthread_once_pad')
Compiling http.c...
Compiling http-addr.c...
Compiling http-addrlist.c...
Compiling http-support.c...
Compiling ipp.c...
Compiling ipp-support.c...
Compiling langprintf.c...
Compiling language.c...
Compiling localize.c...
Compiling mark.c...
Compiling md5.c...
Compiling md5passwd.c...
Compiling notify.c...
Compiling options.c...
Compiling page.c...
Compiling ppd.c...
Compiling ppd-cache.c...
Compiling pwg-media.c...
Compiling request.c...
Compiling sidechannel.c...
Compiling snmp.c...
Compiling snprintf.c...
Compiling string.c...
Compiling tempfile.c...
Compiling thread.c...
Compiling transcode.c...
transcode.c: In function `cupsCharsetToUTF8':
transcode.c:179: warning: passing arg 2 of `iconv' from incompatible pointer type
transcode.c: In function `cupsUTF8ToCharset':
transcode.c:304: warning: passing arg 2 of `iconv' from incompatible pointer type
Compiling usersys.c...
Compiling util.c...
Archiving libcups.a...
a - adminutil.o
a - array.o
a - attr.o
a - auth.o
a - backchannel.o
a - backend.o
a - conflicts.o
a - custom.o
a - debug.o
a - dest.o
a - dir.o
a - emit.o
a - encode.o
a - file.o
a - getdevices.o
a - getifaddrs.o
a - getputfile.o
a - globals.o
a - http.o
a - http-addr.o
a - http-addrlist.o
a - http-support.o
a - ipp.o
a - ipp-support.o
a - langprintf.o
a - language.o
a - localize.o
a - mark.o
a - md5.o
a - md5passwd.o
a - notify.o
a - options.o
a - page.o
a - ppd.o
a - ppd-cache.o
a - pwg-media.o
a - request.o
a - sidechannel.o
a - snmp.o
a - snprintf.o
a - string.o
a - tempfile.o
a - thread.o
a - transcode.o
a - usersys.o
a - util.o
ar: writing libcups.a
Linking libcups.so.2...
Making all in test...
Compiling ippserver.c...
Linking ippserver...
Compiling ipptool.c...
Linking ipptool...
Linking ipptool-static...
Making all in filter...
Compiling image-bmp.c...
Compiling image-colorspace.c...
Compiling image-gif.c...
Compiling image-jpeg.c...
Compiling image-photocd.c...
Compiling image-pix.c...
Compiling image-png.c...
Compiling image-pnm.c...
Compiling image-sgi.c...
Compiling image-sun.c...
Compiling image-tiff.c...
Compiling image-zoom.c...
Compiling image.c...
Compiling error.c...
error.c:173: warning: missing braces around initializer
error.c:173: warning: (near initialization for `raster_key_once.__pthread_once_pad')
Compiling interpret.c...
Compiling raster.c...
Linking libcupsimage.so.2...
Archiving libcupsimage.a...
a - image-bmp.o
a - image-colorspace.o
a - image-gif.o
a - image-jpeg.o
a - image-photocd.o
a - image-pix.o
a - image-png.o
a - image-pnm.o
a - image-sgi.o
a - image-sgilib.o
a - image-sun.o
a - image-tiff.o
a - image-zoom.o
a - image.o
a - error.o
a - interpret.o
a - raster.o
ar: writing libcupsimage.a
Compiling bannertops.c...
Compiling pstext.c...
Compiling common.c...
Linking bannertops...
Compiling commandtops.c...
Linking commandtops...
Compiling gziptoany.c...
Linking gziptoany...
Compiling texttops.c...
Compiling textcommon.c...
Linking texttops...
Compiling pstops.c...
Linking pstops...
Compiling imagetops.c...
Linking imagetops...
Compiling imagetoraster.c...
Linking imagetoraster...
Compiling rastertoepson.c...
Linking rastertoepson...
Compiling rastertohp.c...
Linking rastertohp...
Compiling rastertolabel.c...
Linking rastertolabel...
Compiling rastertopwg.c...
Linking rastertopwg...
Making all in backend...
Compiling ipp.c...
Linking ipp...
Compiling lpd.c...
Linking lpd...
Compiling parallel.c...
Linking parallel...
Compiling serial.c...
Linking serial...
Compiling snmp.c...
Linking snmp...
Compiling socket.c...
Linking socket...
Compiling usb.c...
usb-unix.c:561: warning: 'side_cb' defined but not used
Linking usb...
Making all in berkeley...
Compiling lpc.c...
Linking lpc...
Compiling lpq.c...
Linking lpq...
Compiling lpr.c...
Linking lpr...
Compiling lprm.c...
Linking lprm...
Making all in cgi-bin...
Compiling help-index.c...
Compiling html.c...
Compiling ipp-var.c...
Compiling search.c...
Compiling template.c...
Compiling var.c...
Archiving libcupscgi.a...
a - help-index.o
a - html.o
a - ipp-var.o
a - search.o
a - template.o
a - var.o
ar: writing libcupscgi.a
Linking libcupscgi.so.1...
Linking websearch...
Compiling admin.c...
Linking admin.cgi...
Compiling classes.c...
Linking classes.cgi...
Compiling help.c...
Linking help.cgi...
Compiling jobs.c...
Linking jobs.cgi...
Compiling printers.c...
Linking printers.cgi...
Making all in driver...
Compiling attr.c...
Compiling cmyk.c...
Compiling dither.c...
Linking libcupsdriver.so.1...
Archiving libcupsdriver.a...
a - attr.o
a - check.o
a - cmyk.o
a - dither.o
a - lut.o
a - pack.o
a - rgb.o
a - srgb.o
ar: writing libcupsdriver.a
Compiling commandtoescpx.c...
Linking commandtoescpx...
Compiling commandtopclx.c...
Linking commandtopclx...
Compiling rastertoescpx.c...
Linking rastertoescpx...
Compiling rastertopclx.c...
Compiling pcl-common.c...
Linking rastertopclx...
Making all in monitor...
Compiling bcp.c...
Linking bcp...
Compiling tbcp.c...
Linking tbcp...
Making all in notifier...
Compiling mailto.c...
Linking mailto...
Compiling rss.c...
Linking rss...
Compiling testnotify.c...
Linking testnotify...
Making all in ppdc...
Compiling ppdc-array.cxx...
Compiling ppdc-attr.cxx...
Compiling ppdc-catalog.cxx...
Compiling ppdc-choice.cxx...
Compiling ppdc-constraint.cxx...
Compiling ppdc-driver.cxx...
Compiling ppdc-file.cxx...
Compiling ppdc-filter.cxx...
Compiling ppdc-font.cxx...
Compiling ppdc-group.cxx...
Compiling ppdc-import.cxx...
Compiling ppdc-mediasize.cxx...
Compiling ppdc-message.cxx...
Compiling ppdc-option.cxx...
Compiling ppdc-profile.cxx...
Compiling ppdc-shared.cxx...
Compiling ppdc-source.cxx...
Compiling ppdc-string.cxx...
Compiling ppdc-variable.cxx...
Linking libcupsppdc.so.1...
Archiving libcupsppdc.a...
a - ppdc-array.o
a - ppdc-attr.o
a - ppdc-catalog.o
a - ppdc-choice.o
a - ppdc-constraint.o
a - ppdc-driver.o
a - ppdc-file.o
a - ppdc-filter.o
a - ppdc-font.o
a - ppdc-group.o
a - ppdc-import.o
a - ppdc-mediasize.o
a - ppdc-message.o
a - ppdc-option.o
a - ppdc-profile.o
a - ppdc-shared.o
a - ppdc-source.o
a - ppdc-string.o
a - ppdc-variable.o
ar: writing libcupsppdc.a
Compiling ppdc.cxx...
Linking ppdc...
Compiling ppdhtml.cxx...
Linking ppdhtml...
Compiling ppdi.cxx...
Linking ppdi...
Compiling ppdmerge.cxx...
Linking ppdmerge...
Compiling ppdpo.cxx...
Linking ppdpo...
Compiling genstrings.cxx...
Linking genstrings...
Generating localization strings...
Making all in scheduler...
Compiling filter.c...
Compiling mime.c...
Compiling type.c...
Linking libcupsmime.so.1...
Archiving libcupsmime.a...
a - filter.o
a - mime.o
a - type.o
ar: writing libcupsmime.a
Compiling auth.c...
Compiling banners.c...
Compiling cert.c...
Compiling classes.c...
Compiling client.c...
Compiling conf.c...
Compiling dirsvc.c...
Compiling env.c...
Compiling file.c...
Compiling main.c...
Compiling ipp.c...
Compiling listen.c...
Compiling job.c...
Compiling log.c...
Compiling network.c...
Compiling policy.c...
Compiling printers.c...
Compiling process.c...
Compiling quotas.c...
Compiling select.c...
Compiling server.c...
Compiling statbuf.c...
Compiling subscriptions.c...
Compiling sysman.c...
Linking cupsd...
Compiling cupsfilter.c...
Linking cupsfilter...
Linking cups-deviced...
Linking cups-driverd...
Compiling cups-exec.c...
Linking cups-exec...
Compiling cups-lpd.c...
Linking cups-lpd...
Compiling cups-polld.c...
Linking cups-polld...
Making all in systemv...
Compiling cancel.c...
Linking cancel...
Compiling cupsaccept.c...
Linking cupsaccept...
Compiling cupsaddsmb.c...
Linking cupsaddsmb...
Compiling cupsctl.c...
Linking cupsctl...
Compiling cupstestdsc.c...
Linking cupstestdsc...
Compiling cupstestppd.c...
Linking cupstestppd...
Compiling lp.c...
Linking lp...
Compiling lpadmin.c...
Linking lpadmin...
Compiling lpinfo.c...
Linking lpinfo...
Compiling lpmove.c...
Linking lpmove...
Compiling lpoptions.c...
Linking lpoptions...
Compiling lppasswd.c...
Linking lppasswd...
Compiling lpstat.c...
Linking lpstat...
Making all in conf...
Making all in data...
Making all in desktop...
Making all in locale...
Compiling checkpo.c...
Linking ...
Compiling po2strings.c...
Linking ...
Compiling translate.c...
Linking ...
Making all in man...
Converting man pages to HTML...
cancel.1...
cups-config.1...
cupstestdsc.1...
cupstestppd.1...
ipptool.1...
lp.1...
lpoptions.1...
lppasswd.1...
lpq.1...
lprm.1...
lpr.1...
lpstat.1...
ppdc.1...
ppdhtml.1...
ppdi.1...
ppdmerge.1...
ppdpo.1...
classes.conf.5...
client.conf.5...
cups-snmp.conf.5...
cupsd.conf.5...
ipptoolfile.5...
mailto.conf.5...
mime.convs.5...
mime.types.5...
ppdcfile.5...
printers.conf.5...
subscriptions.conf.5...
backend.7...
filter.7...
notifier.7...
cupsaccept.1m...
cupsaddsmb.1m...
cupsctl.1m...
cupsfilter.1m...
cups-deviced.1m...
cups-driverd.1m...
cups-lpd.1m...
cups-polld.1m...
cupsd.1m...
cupsenable.1m...
lpadmin.1m...
lpinfo.1m...
lpmove.1m...
lpc.1m...
Making all in doc...
Making all in examples...
Making all in templates...
Making all in fonts...


bash-3.2# make install
Making all in cups...
Installing data files in cups...
Installing data files in test...
Installing sample ipptool files in /opt/sfw/cups/share/cups/ipptool...
/cups-1.5.3/install-sh: function: not found
/cups-1.5.3/install-sh: -d: cannot open
/cups-1.5.3/install-sh: syntax error at line 68: `}' unexpected
*** Error code 2
The following command caused the error:
/cups-1.5.3/install-sh -d -m 755 /opt/sfw/cups/share/cups/ipptool
make: Fatal error: Command failed for target `install-data'
Current working directory /cups-1.5.3/test
*** Error code 1
The following command caused the error:
for dir in cups test filter backend berkeley cgi-bin driver monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates fonts; do\
echo Installing data files in $dir... ;\
(cd $dir; make install-data) || exit 1;\
done
make: Fatal error: Command failed for target `install-data'
bash-3.2#
 
Old 06-25-2012, 10:36 AM   #29
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I am told by the CUPS.ORG people that there are 2 bug and i need to use two steps to solve them. Let us see what happens.
1).There is a bug for this one filed STR #4097
2).This is a known bug in install-sh; you can grab a fix from: http://svn.easysw.com/public/cups/trunk/install-sh
 
Old 07-18-2012, 08:15 AM   #30
piyush128k
Member
 
Registered: Jun 2012
Posts: 61
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Sorry for the delay....I got occupied on some other projects...I will soon back on this one.
 
  


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
how to install gcc version 3 biplabbijay Suse/Novell 8 03-23-2010 11:58 PM
How to create/install a custom CUPS version jpostma Slackware 1 07-25-2007 06:57 PM
Install or not install newest GCC version on Solaris 10. Zepiroth Solaris / OpenSolaris 6 05-26-2006 02:42 AM
How do I install an old version of gcc thorney Linux - Newbie 1 11-25-2005 12:10 AM
How to install old Gcc version ? vasilakis Linux - Newbie 5 06-10-2004 11:58 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration