Sponsored Content
UNIX Standards and Benchmarks UNIX & LINUX Benchmarks (Version 3.11) UNIX Benchmarks error compiling bm software under Solaris 10 Post 302604193 by bartus11 on Saturday 3rd of March 2012 01:35:24 PM
Old 03-03-2012
I think you should get GNU make.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

compiling software

I am new to unix so please forgive ignorance. I am running openbsd-2.9 and need some help. All the software I run was added via the package system openbsd has. There have been times when I need an app. But it was not in the openbsd ports and or packages system. I usually just wait for it to show up... (3 Replies)
Discussion started by: Blunt_Killer
3 Replies

2. UNIX for Advanced & Expert Users

Compiling Software

I have a problem, my mate built me a little home server using Unix and after he set everything up he deleted the main compiler so i wouldnt be able to Install/Compile any software... And now i wanted to Install a compiler and i have to compile it... thats like installing winzip from a zip... (3 Replies)
Discussion started by: l22
3 Replies

3. Solaris

Error on compiling php for GD on SOLARIS 10

Hi everyone, I have SUn E250 server running solaris 10. I have installed apache 2 + MySQL + PHP-5.1.4 following the guidelines on this website http://meljr.com/~meljr/AMPSolaris10.html Excellent document for first time installation. Now, because I wanted to use Coppermine Photo Gallery, I... (9 Replies)
Discussion started by: callingrohit
9 Replies

4. Programming

Compiling in Solaris

Hi, I'm new to Unix. I'm trying to compile a shared library in Solaris running on x86. I get "void value not ignored as it ought to be" error when trying "make". But it compiles fine in Fedora. How can this happen? I think both are using the same type of compiler. What can I do to get around... (8 Replies)
Discussion started by: runnerb
8 Replies

5. UNIX for Advanced & Expert Users

compiling php5 on solaris 9. please help.

I'm trying to compile PHP5. I've installed mysql5 successfully and apache1.3 is working great, but I get the message below when I compile PHP5. I double checked if I have libxml2 installed and I do. I installed libxml2 binary from sunfreeware. Please see below for details: ./configure... (5 Replies)
Discussion started by: xnightcrawl
5 Replies

6. Solaris

Compiling IRSSI on Solaris 10

How does one go aout compiling irssi locally on a fresh installation of Solaris 10, Out put from ./configure m command /download/1rss1-0.8.12 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking... (2 Replies)
Discussion started by: FloridaBSD
2 Replies

7. UNIX for Dummies Questions & Answers

Compiling UNIX software packages Question

I am trying to learn how compile programs using this lesson. UNIX Tutorial Seven I am stuck at 7.4 Configuring and creating the Makefile. It stats that I need to configure the utility with my home directory. After doing the echo $HOME command I get /home/Bill_Gates. It then says to insert... (6 Replies)
Discussion started by: jae99
6 Replies

8. Infrastructure Monitoring

compiling netsnmp on solaris 8

Hello all Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options. ./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host"... (2 Replies)
Discussion started by: krabu
2 Replies

9. Programming

Sun Solaris C++ Compiling Error

Hello. I'm using SunStudio 12 Update 1. When compiling for x86, everything works fine. When compiling for SPARC, I get the following errors. I linked libCstd.so.1 explicitly, but I get the same errors. Would anyone be kind enough to step me through resolving this? Thank you very much. **... (2 Replies)
Discussion started by: acheong87
2 Replies

10. Solaris

Compiling Error in Samba 3.4.1 on Solaris 10

Hi all, I am getting the following error While installing Samba 3.4.1 on Solaris 10. #./autogen.sh ./autogen.sh : autoheader : not found ./autogen.sh : test : argument expected Please help me as I am in a critical state of the project. Warm regards, Sathya (10 Replies)
Discussion started by: sathya47
10 Replies
Makefile::Parser::GmakeDB(3pm)				User Contributed Perl Documentation			    Makefile::Parser::GmakeDB(3pm)

NAME
Makefile::Parser::GmakeDB - GNU makefile parser using GNU make's database dump VERSION
This document describes Makefile::Parser::GmakeDB 0.215 released on 18 August 2011. SYNOPSIS
use Makefile::Parser::GmakeDB; my $db_listing = `make --print-data-base -pqRrs -f Makefile`; my $ast = Makefile::Parser::GmakeDB->parse($db_listing); DESCRIPTION
This module serves as a parser for GNU makefiles. However, it does not parse user's original makefile directly. Instead it uses Makefile::DOM to parse the "data base output listing" produced by GNU make (via its "--print-data-base" option). So essentially it reuses the C implementation of GNU make. This parser has been tested as a component of the pgmake-db utility and has successfully passed 51% of GNU make 3.81's official test suite. The result of the parser is a makefile AST defined by Makefile::AST. The "data base output listing" generated by "make --print-data-base" is a detailed listing for GNU make's internal data structures, which is essentially the AST used by "make". According to GNU make's current maintainer, Paul Smith, this feature is provided primarily for debugging the user's own makefiles, and it also helps the GNU make developer team to diagnose the flaws in make itself. Incidentally this output is conformed to the GNU makefile syntax, and a lot of important information is provided in the form of makefile comments. Therefore, my GmakeDB parser is able to reuse the Makefile::DOM module to parse this output listing. The data base output from GNU make can be divided into several clearly-separated segments. They're file header, "Variables", "Files", "VPATH Search Paths", as well as the last resource stats information. The contents of these segments are mostly obvious. The Files segment may deserve some explanation. It is the place for explicit rules. Now let's take the Variables segment as an example to demonstrate the format of the data base listing: # Variables # automatic <D = $(patsubst %/,%,$(dir $<)) # automatic ?F = $(notdir $?) # environment DESKTOP_SESSION = default # automatic ?D = $(patsubst %/,%,$(dir $?)) # environment GTK_RC_FILES = /etc/gtk/gtkrc:/home/agentz/.gtkrc-1.2-gnome2 # environment ... It's shown that the flavor and origin of the makefile variables are given in the previous line as comments. Hence feeding this back into GNU make again makes little sense. Similarly, the Files segment for explicit rules also puts big amount of the important information into makefile comments: # Files # Not a target: bar.c: # Implicit rule search has not been done. # Modification time never checked. # File has not been updated. all: foo.o bar.o # Implicit rule search has been done. # File does not exist. # File has not been updated. # variable set hash-table stats: # Load=0/32=0%, Rehash=0, Collisions=0/0=0% foo.o: foo.c # Implicit rule search has not been done. # Implicit/static pattern stem: `foo' # File does not exist. # File has not been updated. # variable set hash-table stats: # Load=0/32=0%, Rehash=0, Collisions=0/0=0% # commands to execute (from `ex2.mk', line 8): $(CC) -c $(CFLAGS) $< -o $@ ... From the previous two data base listing snippets, it's not hard to see that the variable references in rule commands and recursively- expanded variables's values are not expanded. Experiments have shown that GNU make will do implicit rule search for the first rule that needs to, but no more. This behavior means testing our own implicit rule searching algorithm requires specifying at least two goals that require matching. DEPENDENCIES
GNU make 3.81 At least the make executable of GNU make 3.81 is required to work with this module. Makefile::DOM BUGS
o GNU make does not escape meta characters appeared in rule targets and prerequisites in its data base listing. Examples are ":", "", and "#". This bug has been reported to the GNU make team as "Savannah bug #20067". This bug has not yet been fixed on the "make" side, so I have to work around this issue by preprocessing the data base listing in the makesimple script. o The data base listing produced by GNU make lacks the information regarding the "export" and "unexport" directives. It gives rise to the lack of information in the resulting AST structures constructed by this module. Hence the current AST and runtime do not implement the "export" and "unexport" directives. To make it even worse, there's no known way to work around it. I've already reported this issue to the GNU make team as Savannah bug #20069. CODE REPOSITORY
For the very latest version of this script, check out the source from http://github.com/agentzh/makefile-parser-pm <http://github.com/agentzh/makefile-parser-pm>. There is anonymous access to all. AUTHOR
Zhang "agentzh" Yichun "<agentzh@gmail.com>" COPYRIGHT AND LICENSE
Copyright (c) 2005-2008 by Zhang "agentzh" Yichun (agentzh). This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Makefile::AST, Makefile::AST::Evaluator, Makefile::DOM, makesimple, pgmake-db. perl v5.12.4 2011-10-01 Makefile::Parser::GmakeDB(3pm)
All times are GMT -4. The time now is 05:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy